You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. when I sewn below http request, I got {"code":2,"error":"Invalid JSON object in request, please add vehicles and jobs or shipments to the object body"}
my command (according to link) curl --header "Content-Type:application/json" --data '{"vehicles":[{"id":0,"start":[2.3526,48.8604],"end":[2.3526,48.8604]}],"jobs":[{"id":0,"location":[2.3691,48.8532]},{"id":1,"location":[2.2911,48.8566]}]}' http://solver.vroom-project.org
I also have installed Vroom on my server and I got the same error.
The text was updated successfully, but these errors were encountered:
This error appears when there is a json error in the payload. The weird thing is that the exact same command works from my terminal. Can you maybe try putting the data in an input.json file and instead run:
Hi. when I sewn below http request, I got
{"code":2,"error":"Invalid JSON object in request, please add vehicles and jobs or shipments to the object body"}
my command (according to link)
curl --header "Content-Type:application/json" --data '{"vehicles":[{"id":0,"start":[2.3526,48.8604],"end":[2.3526,48.8604]}],"jobs":[{"id":0,"location":[2.3691,48.8532]},{"id":1,"location":[2.2911,48.8566]}]}' http://solver.vroom-project.org
I also have installed Vroom on my server and I got the same error.
The text was updated successfully, but these errors were encountered: