pactumjs / pactum

REST API Testing Tool for all levels in a Test Pyramid
https://pactumjs.github.io
MIT License
538 stars 52 forks source link

support duplicate query params #242

Closed ASaiAnudeep closed 1 year ago

ASaiAnudeep commented 1 year ago

Is your feature request related to a problem? Please describe. support duplicate query params

Describe the solution you'd like

await spec()
  .get('<url>')
  .withQueryParams('key', 'value1')
  .withQueryParams('key', 'value2')

Describe alternatives you've considered

await spec()
  .get('<url>?key=value1&key=value2')