We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get a User's Favorites
Should have a JSON body of "{ "api_key": "jgn983hy48thw9begh98h4539h4" }
Your api should expose this endpoint:
Request:
GET /api/v1/favorites?api_key=jgn983hy48thw9begh98h4539h4 Content-Type: application/json Accept: application/json
Response:
The response data should contain exactly these elements and nothing more:
{ "data": [ { "id": "1", "type": "favorite", "attributes": { "recipe_title": "Recipe: Egyptian Tomato Soup", "recipe_link": "http://www.thekitchn.com/recipe-egyptian-tomato-soup-weeknight....", "country": "egypt", "created_at": "2022-11-02T02:17:54.111Z" } }, { "id": "2", "type": "favorite", "attributes": { "recipe_title": "Crab Fried Rice (Khaao Pad Bpu)", "recipe_link": "https://www.tastingtable.com/.....", "country": "thailand", "created_at": "2022-11-07T03:44:08.917Z" } } ] }
Requirements:
Wireframes:
The text was updated successfully, but these errors were encountered:
1/16/23 9:00pm:
Pretty sure the original documentation for this project had a note to send the user_api_key in the body and the params
But it appears it was corrected (or I copied it wrong)
Will send user_api_key in query params.
Sorry, something went wrong.
Working in postman, but testing is HIGHLY inadequate.
However, response in postman is what we expect. AJP
ajpulzone
No branches or pull requests
Get a User's Favorites
Should have a JSON body of "{ "api_key": "jgn983hy48thw9begh98h4539h4" }
Your api should expose this endpoint:
Request:
Response:
The response data should contain exactly these elements and nothing more:
Requirements:
Wireframes:
The text was updated successfully, but these errors were encountered: