![RobotStudio event](https://new.abb.com/images/librariesprovider89/default-album/rs-arc-welding-webinar_register-now---email-banner---big-size.jpg)
RWS, clear all log sample from documentation fails.
![Jorge](https://us.v-cdn.net/5020483/uploads/webwiz/avatars/chi.gif)
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
- 390 UpFeed
- 16 Tutorials
- 13 RobotApps
- 296 PowerPacs
- 404 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 300 IRC5
- 53 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 763 RAPID Programming
- 16 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings