complete-javascript-course icon indicating copy to clipboard operation
complete-javascript-course copied to clipboard

No more post request and API key in the documentation

Open Mishael03 opened this issue 2 years ago • 2 comments

Adding a recipe functionality on the forkify project needs post request and I notice the API documentation has been updated please how do I go about it?

Mishael03 avatar Sep 22 '22 11:09 Mishael03

you have to put a screenshot to understand your problem ?

maged28 avatar Sep 22 '22 13:09 maged28

Did you check the docs at https://forkify-api.herokuapp.com/v2? The API key can be generated there, and the POST request uses the same endpoint as GET for all recipes (/recipes). You just need to pass your API key as a parameter in the URI and the recipe object in the body of the request as shown in the course.

akozdev avatar Sep 23 '22 10:09 akozdev