Dear All,
I am trying to call an api using http request activity but I am getting an error from it
The API request code
The http request activity
The error
Please help me out !
Thank you so much
Dear All,
I am trying to call an api using http request activity but I am getting an error from it
The API request code
The http request activity
The error
Please help me out !
Thank you so much
Hello @Rusira_Liyanage
Kindl;y check your api parameter. I think you are passing body content in the API parameter.
Kindly use properties, of Body option to send body content in api
For more refer to this thread
Is this working in postman? I think you can get rid of the body from the parameters, but don’t think that is the issue. You have a Body property outside of this wizard.
Also you can try to get rid of the apikey parameter and use the authentication below instead of None to “Oauth2” and put the api key there.
Hello Rusira,
Please, go to your activity properties and on “Headers” (at “Options” session) include your apikey. Ok? This way I believe it will work!
Note: Don’t forget to delete your parameter apikey.
I attached my .xaml file for you! It’s working!
APILayer.xaml (6.4 KB)
Hi @Gokul_Jayakumar,
Thank you so much for your kind support !!
This will be helpful for me in the future
Thank you very much, Rusira!
Don’t forget to mark my answer as a solution.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.