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



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.


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.



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.


Hi @Shashi_T,

Please go through below link,



@sarthak, ok thanks.