# POST requests of an API with an API Key

**URL:** <https://forum.inductiveautomation.com/t/post-requests-of-an-api-with-an-api-key/65221>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [October 14, 2022, 7:22am UTC](https://forum.inductiveautomation.com/t/post-requests-of-an-api-with-an-api-key/65221 "2022-10-14T07:22:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebastien\_ng](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sebastien_ng/32/55297_2.png) [@sebastien\_ng](https://forum.inductiveautomation.com/u/sebastien_ng)\
**Post date:** [October 14, 2022, 7:22am UTC](https://forum.inductiveautomation.com/t/post-requests-of-an-api-with-an-api-key/65221/1 "2022-10-14T07:22:50Z")

</div>

Hello, I want use an API but I want know if in ignition Perspective it is possible to do a POST requests of one API with an API Key?

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [October 14, 2022, 7:59am UTC](https://forum.inductiveautomation.com/t/post-requests-of-an-api-with-an-api-key/65221/2 "2022-10-14T07:59:12Z")

</div>

Yes should be possible, it goes in the header i believe  
Here you'll find everything:  
[https://docs.inductiveautomation.com/display/DOC81/system.net.httpClient](https://docs.inductiveautomation.com/display/DOC81/system.net.httpClient)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [October 14, 2022, 2:36pm UTC](https://forum.inductiveautomation.com/t/post-requests-of-an-api-with-an-api-key/65221/3 "2022-10-14T14:36:54Z")

</div>

Just remember that scripting in Ignition (and the HTTP binding) are issuing requests _from the gateway_, not the actual device running your Perspective session.
