# Is there's possibility to run JS in a request

**URL:** <https://community.postman.com/t/is-theres-possibility-to-run-js-in-a-request/8161>\
**Category:** Help Hub\
**Tags:** javascript\
**Created:** [October 3, 2019, 3:38pm UTC](https://community.postman.com/t/is-theres-possibility-to-run-js-in-a-request/8161 "2019-10-03T15:38:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex.dud](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@alex.dud](https://community.postman.com/u/alex.dud)\
**Post date:** [October 3, 2019, 3:38pm UTC](https://community.postman.com/t/is-theres-possibility-to-run-js-in-a-request/8161/1 "2019-10-03T15:38:25Z")

</div>

Is there’s any possibility i could run javascript in a request?  
For example, i’m making GET request to a webpage, and receiving HTML\JavaScript as response, could i have like clean HTML with completed JavaScript?

---

<div class="post-metadata">

**Author:** ![postman-kyle](https://avatars.discourse-cdn.com/v4/letter/p/47e85d/32.png) [@postman-kyle](https://community.postman.com/u/postman-kyle)\
**Post date:** [October 3, 2019, 5:41pm UTC](https://community.postman.com/t/is-theres-possibility-to-run-js-in-a-request/8161/2 "2019-10-03T17:41:22Z")

</div>

Hi

You want to be able to process the response in JSON?  
We have a test tab in Postman which runs JS after the request.

> **[Write scripts to test API response data in Postman | Postman Learning Center](https://learning.postman.com/docs/tests-and-scripts/write-scripts/test-scripts/)**
>
> Postman is a collaboration platform for API development. Postman's features simplify each step of building an API and streamline collaboration so you can create better APIs—faster.

---

<div class="post-metadata">

**Author:** ![alex.dud](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@alex.dud](https://community.postman.com/u/alex.dud)\
**Post date:** [October 3, 2019, 5:59pm UTC](https://community.postman.com/t/is-theres-possibility-to-run-js-in-a-request/8161/3 "2019-10-03T17:59:06Z")

</div>

Not really i mean when i get code after GET request, there’s html and js, and i want this js code being complited not just setted as tags

---

<div class="post-metadata">

**Author:** ![postman-kyle](https://avatars.discourse-cdn.com/v4/letter/p/47e85d/32.png) [@postman-kyle](https://community.postman.com/u/postman-kyle)\
**Post date:** [October 3, 2019, 9:40pm UTC](https://community.postman.com/t/is-theres-possibility-to-run-js-in-a-request/8161/4 "2019-10-03T21:40:16Z")

</div>

ah like a browser? Have you tried the preview tab?  
It won’t run the JS however, that’s more of a browser.

What your seeing is the raw text response of the body.
