> When i enter this url: http://IP:10002/server/refresh? into a web
> browser, the refresh starts.
>
> What does not work is the same via a curl -X POST
> http://IP:10002/server/refresh?
A URL which you can enter in your browser's URL field is a GET request.
What you tried using curl is a POST, usua.ly used to send some data to
the server. Just remove "-X POST" from your command to have curl do a
GET (which is the default verb used) like the browser would do. Does
that work?
> browser, the refresh starts.
>
> What does not work is the same via a curl -X POST
> http://IP:10002/server/refresh?
A URL which you can enter in your browser's URL field is a GET request.
What you tried using curl is a POST, usua.ly used to send some data to
the server. Just remove "-X POST" from your command to have curl do a
GET (which is the default verb used) like the browser would do. Does
that work?