Hello, I’m playing with RWS to learn how it works.
But when I send this command: curl --digest -u "Default User":robotics -X POST "http://localhost/rw/elog?action=clearall
Which is to clear all log message, I got a 415 error from server.
Here is the return of curl command:
But If I use:
curl --digest -u "Default User":robotics -X POST -H "Content-Type: application/x-www-form-urlencoded" -i "http://localhost/rw/elog?action=clearall"
I got 204 code. Every thing ok.
Why I must use Content-Type if the command doesn’t send any data?.
I think is not according with this:
/Jorge