check /recommendations
POST {{YOUR_GLITCH_BASE_URL}}/recommendations
You can use this request to test your /recommendations
endpoint in server.js
as you update the code.
Set your project's public Glitch URL as a collection variable called YOUR_GLITCH_BASE_URL
. You find your public url in Glitch from the editor: Show > Open in New Window
Your endpoint should accept 3 artists in the request body (artist1
, artist2
, artist3
) and return song recommendations.
The tests in the Tests
tab of this request ensure your endpoint is working, so make sure the tests pass!
Next step
Once this request passes all the tests in the Test Results
tab, and you have finished your Glitch frontend, you are ready to submit your work!
Click the submit
request in the submit
folder below for instructions.
Request Body
{"artist1"=>"nirvana", "artist2"=>"led zeppelin", "artist3"=>"pink floyd"}