Hello All,
We have an issue here where we need to do a http post to an endpoint using basic auth. Now when we are trying to do the post using Postman with the same credentials and body, we get a 200 ok response .
But the same credentials when passed in http connection in the Authorization header as below, we keep getting 401 unauthorized server response. When checked with the destination side, they can see a different string on the auth header than what we are sending from our side in the mime document and hence we keep getting 401 error.
See below -
in B2Bi -
Authorization: Basic czMxNjBlZGkzcG9kQGtyb2dlci5jb206SnZKY3RCdExvQUZiNklxRm5rNm9CSHk=
followed by body
In destination -
Authorization: Basic czMxNjBlZGkzcG9kQEtyb2dlci5jb206QUFBQU9RQUFBRVVBQUFCN0FBQUFWUUFBQUVRQUFBQW5BQUFBRUFBQUFDVUFBQUJjQUFBQU1RQUFBQ2tBQUFBR0FBQUFSUUFBQUhvQUFBQkFBQUFBY0FBQUFGNEFBQUFPQUFBQVVnQUFBQVlBQUFCeEFBQUFPQUFBQUJZPQ
What could be the issue here ?
------------------------------
Pranjit Biswas
------------------------------
#B2BIntegration#SupplyChain