vlucas / frisby

Frisby is a REST API testing framework built on Jest that makes testing API endpoints easy, fast, and fun.
http://frisbyjs.com
1.53k stars 201 forks source link

Using query parameters in API calls #580

Closed Cenric closed 2 years ago

Cenric commented 2 years ago

What is the correct way to use query parameters in frisby.js api calls? I have been adding them to the URL manually such as

.get('main URL here' + '?param=' + paramVariable)

but wasn't sure if there are better ways to do this, I didn't see any frisby.js documentation on the official website for this

H1Gdev commented 2 years ago

FYI

https://github.com/vlucas/frisby/issues/552#issuecomment-587070845