Perform some action using api's (REST or HTTP), not using UiPath activities like(Open Browser, Click, set text)

Hi,
Can anyone please suggest me to achieve the below task :-

  1. Open any web application in browser like: google.com or outlook.com or any other.
  2. Click on Login button
  3. Enter username and password.
  4. Click on any other link or button exists on the application after login.

But, I need all these activities to perform using api’s (REST or HTTP), not using UiPath activities like(Open Browser, Click, set text) etc…

  • You can make a script that uses HTTP and run it from UiPath (execute the script using the “Invoke Power Shell” activity)
  • You can automate the steps in the background (use simulate type, simulate click)
  • You can use the UiPath activity called “HTTP Request” (from the package UiPath.Web.Activities)

Thanks Testing360 for the suggestion.
But I am new to UiPath so can you please give a sample solution or demo, using HTTP Request.

Hi @gkumar

Check below documentation

Hope this helps

Thanks

imagem
Drag and drop… Configure accordingly…


If you can’t find the activity in the activities panel, then you need to use the package manager to install it, as seen above.

@Testing360, @Srini84
In HTTP Request Wizard, I have passed the website name in EndPoint for example “gmail.com” and in Response tab after clicking on Preview its showing the status and raw body, but what next I have to do ?

@gkumar

That depends on your automation you want to do? May i know what you are trying to achieve?

For Mail activities you can try Get Outlook Items or IMAP activities that would be great, but still you want to do automation with REST API means you have to define the automation correctly.

For more on gmail API, you can refer below website

Thanks

I need to do the below task but using api’s not UiPath activities :-

  1. Open any web application in browser like: google , gmail or outlook or any other.
  2. Click on Login button
  3. Enter username and password.
  4. Click on any other link or button exists on the application after login.

#Developers #learn #random
Need help on shared query dear Folks ?

I need to do the below task but using api’s not UiPath (activities):-

  1. Open any web application in browser like: google , gmail or outlook or any other.
  2. Click on Login button 3. Enter username and password. 4. Click on any other link or button exists on the application after login.

@gkumar

To give you some information, SOAP and REST API are something to get the information or update or to create new request (posting new data ) to the WEB application in the background instead of doing it in the front end i.e., using UI or HTML pages.

So, if you want to login to a particular application, if you have API available for that WEB application, then you can use them to authenticate and do the required stuff. And as there is API available, you will have clear documentation for those as well with the developers.

Now, make sure you are trying to automate the steps for those web application which is having API. Otherwise, it is not possible to do those

Hope I’m clear and please let me know if you have any doubts

@HareeshMR

Thank you for the explanation Hareesh!

1 Like