RWS, clear all log sample from documentation fails.
Jorge
✭✭
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<br>
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"<br>
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
Jorge Turiel
Post edited by Maxim Riabichev on
0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 798 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings