Reputation: 11
Im trying to convert my file from "binary" (application/octet-stream) to a JSON. Im trying to write: Content-Type: application/json into additinoal header but im still getting the same file.
I need to convert this file to contuine working with it, hopefully somone can help me witht this problem!
Upvotes: 1
Views: 3526
Reputation: 3230
Unfortunately, REST connector ignores any "Accept" header specified in additionalHeaders.
REST connector ignores any "Accept" header specified in additionalHeaders. As REST connector only support response in JSON, it will auto generate a header of Accept: application/json.
Upvotes: 1