Help with post request and response

Hello!

I’m new using postman and I need to use a post method multiple times with different values. My post request is like this:

The variables come from a get request:

I need to execute the body multiple times with different values and I need to export in a file the variable “IdAssunto” with the response, I will use this file in a sql script. Is this possible?

Hi @wendriltotvs

There is the option to save the response to a file.
image

But it sounds like you are trying to automate and run multiple iterations etc.

I don’t think Postman is designed to work in the way you describe and would likely require some reasonably complex scripting.

There are plenty of resources online that discuss writing responses to a file, @vdespa has a YouTube video here explaining this concept

1 Like

I will try that. Thank you!!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.