curl
curl --location --request GET 'http://10.111.00.16:9999/api/b/gcode/predict?token=6f02b5336b15086bfb067c39407a4e11&channel_id=104&goods_code=213206367224771584' \
--header 'version: 1.1.0'
curl --location --request POST 'http://10.111.00.16:9999/api/b/gcode/predict/batch' \
--header 'version: 1.1.0' \
--header 'Content-Type: application/json' \
--data-raw '{
"token":"485936e3baa38e5f5b3b11c1ad141aed",
"channel_id":132,
"data":[
{"goods_code":"213214413862709248"},
{"goods_code":"212108322771198976"}
]
}'
curl http://127.0.0.1:5100/price/predict/EE -X POST -d '{ "category" : 1, "data" :[ { "itemCode" : "212428731601771520", "businessChannel" : 0, "productId" : 25681, "brandId" : 7, "categoryId" : 1, "skuId" : 105420, "levelId" : 433, "propertyValues" : [ { "ppnId" : 314, "ppvId" : 2014 }, { "ppnId" : 316, "ppvId" : 2026 }, { "ppnId" : 325, "ppvId" : 2045 }, { "ppnId" : 332, "ppvId" : 2067 }, { "ppnId" : 344, "ppvId" : 2102 }, { "ppnId" : 346, "ppvId" : 2106 }, { "ppnId" : 347, "ppvId" : 2108 }, { "ppnId" : 351, "ppvId" : 2122 }, { "ppnId" : 353, "ppvId" : 2129 }, { "ppnId" : 355, "ppvId" : 2134 }, { "ppnId" : 350, "ppvId" : 2475 }, { "ppnId" : 495, "ppvId" : 2701 }, { "ppnId" : 580, "ppvId" : 3168 }, { "ppnId" : 592, "ppvId" : 3222 }, { "ppnId" : 806, "ppvId" : 4067 }, { "ppnId" : 1102, "ppvId" : 5229 }, { "ppnId" : 352, "ppvId" : 6873 }, { "ppnId" : 1268, "ppvId" : 6947 }, { "ppnId" : 1269, "ppvId" : 6949 }, { "ppnId" : 1279, "ppvId" : 6982 }, { "ppnId" : 345, "ppvId" : 9999 } ] } ]}' --header "Content-Type: application/json"