Flink-Reinforcement-Learning icon indicating copy to clipboard operation
Flink-Reinforcement-Learning copied to clipboard

type error curl -X POST

Open JuyiShang opened this issue 3 years ago • 0 comments

$ :curl -X POST "http://127.0.0.1:8000/reinforce" -H "accept: application/json" -d '{"user": [1], "item": [[1,2,3,4,5,6,7,8,9,10]], "n_rec": 8}'

return :{"detail":[{"loc":["body"],"msg":"value is not a valid dict","type":"type_error.dict"}]}

JuyiShang avatar Nov 19 '21 06:11 JuyiShang