Hi Guys,
Need your help in sending HTTP web request from A4J. I am not sure why Authorization is not working. I tried all the method like Authorization Bearer <token> or Authorization Basic <token> but for all them getting unauthorized error. Kindly suggest, same token working in postman.
I have fixed it.
Here is the solution :
Authorization
.Basic<space><encoded_credentials>
, where <encoded_credentials>
is a base64-encoded string of your username:password
.To generate encoded credentials for your username and password in base64 format, you can use various methods, including online tools, command-line tools, or programming languages. Here are a few options:
username:password
in the input field.Authorization
Basic dXNlcjpwYXNz
(replace dXNlcjpwYXNz
with your actual encoded string)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.