Hi @rtfmoz2!
If you are using Runner to run through the requests in a collection, you can select requests to run by checking/unchecking the box as shown below:
Alternatively, pm.sendRequest() method may be useful to send request from scripts. As in the example below, you can define request as an object and use it as an argument.
// Example with a full-fledged request
const postRequest = {
url: 'https://postman-echo.com/post',
method: 'POST',
header: {
'Content-Type': 'application/json',
'X-Foo': 'bar'
},
body: {
mode: 'raw',
raw: JSON.stringify({ key: 'this is json' })
}
};
pm.sendRequest(postRequest, (error, response) => {
console.log(error ? error : response.json());
});
I hope this helps.
Please let me know if you have a further question:)