Is there's possibility to run JS in a request

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?

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.

https://learning.getpostman.com/docs/postman/scripts/test_scripts/

1 Like

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

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.