I’d like to run curl requests on my node.js server to test my API but it looks like it doesn’t work. Maybe this is normal…
Request launched :
curl -H "Accept: application/json" -H "Content-type: application/json; charset=UTF-8" -X POST -d @./order/addOrder.json https://[workspace]-[username]-1.c9users.io:8080/api/order/addOrder
My server is of course running on port 8080.
ps: It works well on a local environnement or when the application is deployed on an hosted server.