ros-industrial/abb_librws

How to set header ?

Dyson-Ido opened this issue · 2 comments

Hi,
How to set the below header when run httpPost? Do not see any setting.

Headers 
Content-Type=application/x-www-form-urlencoded;v=1.0

"v" represents API version, which can vary. 

Are you trying to communicate with RWS v2 servers?

If so: #80 (comment).

The header is set here, and according to the online documentations:

  • RWS 1.0 use application/x-www-form-urlencoded

  • RWS 2.0 use application/x-www-form-urlencoded;v=2.0

[Note]: abb_librws only work with RWS 1.0.