# HTTP Request activity with post method

**URL:** <https://forum.uipath.com/t/http-request-activity-with-post-method/13873>\
**Category:** Help\
**Tags:** webapi, activities\
**Created:** [October 17, 2017, 12:05pm UTC](https://forum.uipath.com/t/http-request-activity-with-post-method/13873 "2017-10-17T12:05:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vijendra7277](https://avatars.discourse-cdn.com/v4/letter/v/48db29/32.png) [@vijendra7277](https://forum.uipath.com/u/vijendra7277)\
**Post date:** [October 17, 2017, 12:05pm UTC](https://forum.uipath.com/t/http-request-activity-with-post-method/13873/1 "2017-10-17T12:05:20Z")

</div>

Hi All,

I am trying to create a rest call through **HTTP Request activity** with **post** method. I have given all the required details like simple authentication (username and password), headers and the URL with post method. But in response I am getting “ **Unauthorized** ”. Same Rest call I am using through Mozilla Firefox’s Rest client and its working perfectly fine there.  
Please help if anyone knows the solution. Even I am not finding any example for the same, there is example for Get request but not for Post request.

---

<div class="post-metadata">

**Author:** ![aksh1yadav](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/aksh1yadav/32/135359_2.png) [@aksh1yadav](https://forum.uipath.com/u/aksh1yadav)\
**Post date:** [October 17, 2017, 12:13pm UTC](https://forum.uipath.com/t/http-request-activity-with-post-method/13873/2 "2017-10-17T12:13:14Z")

</div>

> [@vijendra7277](#):
>
> Even I am not finding any example for the same, there is example for Get request but not for Post request.

[Forum Reference Link](https://forum.uipath.com/t/what-input-should-be-given-to-make-a-http-post-request/3290/4)

Regards…!!  
Aksh

---

<div class="post-metadata">

**Author:** ![aditya.prakash](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/aditya.prakash/32/176697_2.png) [@aditya.prakash](https://forum.uipath.com/u/aditya.prakash)\
**Post date:** [October 5, 2018, 11:12am UTC](https://forum.uipath.com/t/http-request-activity-with-post-method/13873/3 "2018-10-05T11:12:49Z")

</div>

Hi @aksh1yadav,

have you got Answer of this question now? I think you have idea about this!!  
I have this question, please have alook!!

> [@How to post Image Files(Not file paths) to another system using Http](https://forum.uipath.com/t/how-to-post-image-files-not-file-paths-to-another-system-using-http/68859):
>
> Hello Everyone!! I am trying to post Image files(Not file paths) to an application which is running on another System through Http request activity. I have connected to the remote Api through http GET method sucessfully now I want to post Files, and stucked!! How to get FIles from local system and Post it through Http Post method!! any Help will be appreciated Regards Aditya

Regards  
Aditya
