How to Perform an HTTP API Request in UiPath Studio (Beginner Guide)

I am new to UiPath Studio and trying to understand how to perform an HTTP API request. Could someone guide me step by step on how to configure and execute it properly?

Hi @nafi.iqbal

Check the below thread

Regards

Thanks parvathy for your reply


where can see the output, it executed successfully, but i cannot able to see the output

Hi @nafi.iqbal

You can look into this documentation. This should work.

Activities - HTTP Request

Regards

Hey @nafi.iqbal ,

Welcome to the community.

You can not see the output directly in the variable or arguments panel. You need to create the variable for Response content and Response Status

Where -

Response status is the status of the API Call - 200,400,401,402,500,201

Response Content - Json Output for most of the API’s. You need to deserialize the json to get the desired values

Let me know if you need anything

Thanks,
NaNi


when deserialize json it showing like this error

Hi,

Awesome you are almost there, You have to pass the json response content variable in the json string not the json status.

Status - int32 Type
Content - String Type

You should use the Content not the status in deserialize activity.

Let me know if you need specific values to extract from the json. And make sure the status is 200

Thanks,
NaNi

Hello @nafi.iqbal ,

Please use: OutputResponse.TextContent in the jsonstring

Thanks,
Karthik