Good morning,
I work with webservices supplied by an entity to get data. I just have to set in input a security code. Usually, it's very simple, because it is with the verb GET.
The URL is like the following :
https://myrandomserver.com/api/domain/v1/licensedUsers?securityCode=XXXXXXXXXX
For unknown reasons, the API I'm trying to use works with the verb PUT (even it is only to get data, as previously).
The curl syntax (which works) is the following :
curl -X PUT https://myrandomserver.com/api/library/v1 -d securityCode=XXXXXXXXXX
How can I invoke it with Stambia ?
I created, in my metadata, a new port with the verb PUT.
Next, I tried several things, like executing with only the modification of the verb, next modifying the binding type of the input, or finally set a HTTP header. But I didn't found the right issue.
I'm facing this error :
POST requests require a Content-length header.
(even it is effectively PUT...)
Could you please advise me ?
Thank you in advance.
Regards,
Emmanuel