# Need to expose the api

**URL:** <https://discourse.nodered.org/t/need-to-expose-the-api/81904>\
**Category:** Core Development\
**Tags:** http-request, function-node, exec, http-in\
**Created:** [10 October 2023 07:28 UTC](https://discourse.nodered.org/t/need-to-expose-the-api/81904 "2023-10-10T07:28:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ram1](https://avatars.discourse-cdn.com/v4/letter/r/67e7ee/32.png) [@Ram1](https://discourse.nodered.org/u/Ram1)\
**Post date:** [10 October 2023 07:28 UTC](https://discourse.nodered.org/t/need-to-expose-the-api/81904/1 "2023-10-10T07:28:41Z")

</div>

want to pass the python file path and input image folder path as params in postman. I need to get the params in node red and run the py file and expose the api to get the data with status code of 200.

---

<div class="post-metadata">

**Author:** ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Post date:** [10 October 2023 07:36 UTC](https://discourse.nodered.org/t/need-to-expose-the-api/81904/2 "2023-10-10T07:36:33Z")

</div>

Is this post related to the item you posted a few days ago (as it looks the same)?

> [@How can I pass python script file and input image folder path as params using postman?](https://discourse.nodered.org/t/how-can-i-pass-python-script-file-and-input-image-folder-path-as-params-using-postman/81830):
>
> How can I pass python script file and input image folder path as params using postman body? and get from exec node as msg.payload and run the script file?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [10 October 2023 07:37 UTC](https://discourse.nodered.org/t/need-to-expose-the-api/81904/3 "2023-10-10T07:37:02Z")

</div>

Why have you started a new thread? Help was given here on the original thread; [How can I pass python script file and input image folder path as params using postman? - #14 by Steve-Mcl](https://discourse.nodered.org/t/how-can-i-pass-python-script-file-and-input-image-folder-path-as-params-using-postman/81830/14)

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [10 October 2023 08:10 UTC](https://discourse.nodered.org/t/need-to-expose-the-api/81904/4 "2023-10-10T08:10:39Z")

</div>

Closing duplicate thread.

See original thread: [How can I pass python script file and input image folder path as params using postman? - #14 by Steve-Mcl](https://discourse.nodered.org/t/how-can-i-pass-python-script-file-and-input-image-folder-path-as-params-using-postman/81830/14)

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [10 October 2023 08:10 UTC](https://discourse.nodered.org/t/need-to-expose-the-api/81904/5 "2023-10-10T08:10:44Z")

</div>


