I added api action in the server connect for calling rest api from my java server. For security of API, I was trying to pass authorization and digest key in the header of API action dynamically. When I run my website and see in the developer tool of browser.Then I saw this API is throwing that you are not authorized because authorization and digest key is not populating in the header of API call. Please take a look at it and resolve asap. Thanks
Hi,
There is no issue from what I know with sending headers via API Action in Server Action.
Please share screenshot of your setup to better determine what the issue is.
All looks fine.
Try sending the request to a API Testing service like beeceptor.com
Create an endpoint there, and set that URL in API action here. Then, see if the captured request has the headers or not.
There is a good chance that its the values that might be incorrect rather than the API Action step itself.
It is working fine. Thanks
1 Like