

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 7
click for more info
Not enough gems
Cost: 6 gems
1: URL Paths
incomplete
2: RESTful APIs
incomplete
3: URL Query Parameters
incomplete
4: The Documentation of an HTTP Server
incomplete
5: Multiple Query Parameters
incomplete
This lesson's interactive features are locked, please to keep using them
Query parameters are key/value pairs - that means there can be multiple pairs!
http://example.com?firstName=lane&lastName=wagner
In the example above:
firstName = lanelastName = wagnerThe ? separates the query parameters from the rest of the URL. The & is then used to separate each additional pair of query parameters after that.
Jello's CEO has a new idea. They want us to implement a feature that allows users to see the issues with the lowest time estimate, and the number of issues shown depends on the user's availability.
Complete the fetchTasks function. It should add two query parameters to the URL passed to getIssues:
sortlimitLow availability = 1 issueMedium availability = 3 issuesHigh availability = 5 issuesThe default sort order is ascending.