vlucas / frisby

Frisby is a REST API testing framework built on Jest that makes testing API endpoints easy, fast, and fun.

Home Page:http://frisbyjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using query parameters in API calls

Cenric opened this issue · comments

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