I want to add query parameters for my request in postman through the pre-request script. How can I do this?
Something basic like this could be used in the Collection Pre-request Script
:
pm.request.url.query.add({key: 'test', value: '1234'})
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With