Rest Integration; Headers

Rest Integration; Headers

Comments

  • Hi
    Im building an integration (in decisions 6.13.0.66002) to a system that takes a header like this

    I created an integration; and added a method that needs an authorization header:
    [ul][li]Header Name [/li][li] Authorization[/li][li]Value (this is required to have the space between the word token and the values)[/li][li] Token 128371987398172390[/li][/ul]
    Right now with no parameters running the request in postman from our decisions dev server with the token populated it returns data.

    When we call it in decisions (with the correctly spelt header and values - copied straight from postman} it fails and the remote system says it cant see the header. I can reproduce this error in postman by disabling the header value.

    Does the system encode the header so the space becomes %20? Im not sure what i could have wrong at the moment. I have used headers on other rest queries and they have worked ok. Im running on a shared service so i cant intercept the request that is being send to validate that. The third party have said the header is coming in malformed but cant send it back to me.
    [i]edited by u07ch on 5/20/2021[/i]

Sign In or Register to comment.