REST API Calls in UiPath RPA (HTTP Requests)

preview_player
Показать описание

0:00 Request and Response
A REST API call is just like when you do a Google search. You do a request (your search input, e.g. “cute cats”) and get a response (the search results. For the request, the REST API needs a URL (called endpoint) and a method. The default method is GET, which gets data from the server/database.

0:08 Install the Web.Activities package
In order to get the HTTP Request activity, we need to install the UiPath.Web.Activities package from UiPath.

0:17 HTTP Request
The HTTP Request activity needs an Endpoint and a Request Method. Check the documentation above and use that endpoint and GET as a method. The output will be printed out to a variable (ctrl+k in the Properties-Output-Result), which in this case will be in JSON format.

0:43 Write the response out
To print the response out we simply use a Write Line activity. In order for us to be more specific, e.g. print only the actual rates out or be even more specific and only print out the USD rate, we need to do some JSON parsing. That is shown in the next lesson.

Connect with me:

#shorts #uipath #rpa
Рекомендации по теме
Комментарии
Автор

Thanks a lot for your support 🙏😀 If this video helped you, please give it a thumbs up above or even add a comment here in the comment section and let me know. Kind regards, Anders

ILoveAutomation
Автор

Hey Anders..
Thanks for Making videos 👍👍

ashokdondapati
Автор

Great content. Could you make tutorials on Blue Prism as well?
Also what other skills apart from knowledge on rpa tools, to acquire as a RPA developer in order to enhace ones career!?

NehaSharma-icge
Автор

I have one assessment like this I did but if in interview asking about the JSON how I can explain in a short term to make them realize that I understand thus method

aptechmalaysia