Using Fetch in postman

Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic.

Here’s an outline with best practices for making your inquiry.

How can one use fetch in Postman? I’ve tried importing it as well as creating a environment variable as and getting that variable in my tests. I keep getting Fetch is not a function or it’s not defined:

Details (like screenshots):

How I found the problem:

I’ve already tried:

Hi @apinoob123

Welcome to the Community :tada:

The query raised by you here is not clear, it’s incomplete too, can you please provide correct and complete information here for assisting you.

Hey @apinoob123,

An alternative to trying to import fetch is to use the built-in pm.sendRequest function.