How to call Rest API through UIPatha activity http request /http client

uiautomation
uipath

#1

I m trying to call a rest API method for the POST through HTTP Client but every time its giving 405 error status code.

Can anybody help in this from Uipath team.


#2

Hi @Shashi_T,

Can you please provide details of Rest API which you are trying to consume.

Please attach sample workflow if possible.

405 usually means you either tried a GET on something that only allows POST, or vice-versa, or tried http: on a method that requires https.

Regards,
Rahamat


#3

Hi Rahamtulaah,
find the below screenshots of settings

These are the settings that i hv passed but still giving the below error, attached the snap shot.


#4

Hi @Shashi_T,

Please go through below link,

Reg,
Sarthak


#5

@sarthak, ok thanks.