Hi Dear Experts,
I have an issue to use a PUT method.
The problem is in the PUT request. In API says to define request header as Content-Type:application/octet-stream
I tried to define in WADL file this type

I got unsupported type error

After that I tried to change the header like this

And this one

In both cases I get HTTP 500 error

This error due double header collision (json + octet-stream)
The problem is that I can't remove the json header, I don't have any setting for it. It's absolutely automatic.
Many thanks for any help and support.
Gilles
Request clarification before answering.
I am also running into the same issue, wherein the API I am dealing with (8x8) requires Content-Type=application/x-www-form-urlencoded in the header. When I put it as a Standard HTTP Header Field, it certainly picks it up, but then throws an error as there are now duplicate Content-Type entries. This can easily be replicated in SOAP UI.
From the trace...
TRAN 9/14/2022 9:13:53 AM Content-Type: application/json; charset=utf-8
TRAN 9/14/2022 9:13:53 AM Content-Type: application/x-www-form-urlencoded
TRAN 9/14/2022 9:13:54 AM HTTP/1.1 400 Bad RequestTRAN 9/14/2022 9:13:54 AM {"fault":{"faultstring":"Duplicate Header \"Content-Type\"","detail":{"errorcode":"protocol.http.DuplicateHeader"}}}There is no way around this?...You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.