I'm looking to add 'application/x-www-form-urlencoded' in the request header to be sent from a protocol. Can anyone provide an example of how this can be achieved using a DataMiner Protocol.
NOTE: Only some POST commands require URLENCODING. The majority of GET/PUT/DELETE commands can be sent without the additional header.
DEVICE API INFORMATION
For POST APIs, ensure that the following conditions are met:
- Content type must be set to application/x-www-form-urlencoded in request header
- Request body must be URL encoded
I would love to see what parameter 103 “Login Request Body” might look like as an example if that would be possible to share.
Many thanks Jens. This solution works perfectly.