How to make an api i request with these details

hello everyone
can someone tell me if this request is possible with UiPath

Thank you

Hi @fernando2 ,

Its defenetly possible as u have the request url , auth details . U can use http request activity by passing the same details and get the desired outcome .

Happy Automation

Hi @fernando2

Yes It is Possible.
1.Install UiPath.Webapi.Activities in UiPath.


2.Use http request activity to connect with api
image
Check this below video

Hope it helps!!

@AutomationX_by_Kiran

Thanks for the reply but i want to know how should the parameters such as

  • consumer_key ,consumer_secret
    should be put in the http activty in UiPath

Thank you

Hi @fernando2
=> Download the dependency UiPath.WebAPI.Activities. Go to Manage Packages=> All Packages=> Type the package name=> Click Install=> Click Save


image

  1. Drag and Drop HTTP Request Activity:
  • In your UiPath workflow, drag and drop an “HTTP Request” activity onto the Designer panel.
  1. Configure the HTTP Request:
  • Click on the “HTTP Request” activity.
  • In the properties panel, you’ll see fields to configure the HTTP request, including:
    • Endpoint: Enter the URL of the API endpoint you want to call.
    • Method: Select the HTTP method (GET, POST, PUT, etc.).
    • Headers: Add any headers required for your API request.
    • Parameters: Add any query parameters if necessary.
    • Body: If your API request requires a request body (for POST or PUT requests), you can enter the payload here.
  1. Handling the Response:
  • After making the request, you can handle the response using the “Response” property of the “HTTP Request” activity.
  • You can use the response content or status code as needed in your workflow.

You can follow this YouTube video too

Hope it helps!!

Hi @fernando2 ,

Please use the below steps

  1. Drag and Drop HTTP Request Activity

In your UiPath workflow, drag and drop an “HTTP Request” activity onto the Designer panel.

  1. Configure the HTTP Request

Happy Automation !

thank you everyone

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.