If you want to have the best chances of getting a useful answer quickly, make sure you follow our guidelines about how to ask a good question. That way you’ll be helping everyone – helping people to answer your question and helping others who are stuck to find the question and answer!
I’m asking this question because no one else seems to have, and I’m wondering if I’m either missing something in the course or…? I feel like many beginner to beginner-intermediate (which is how I would describe myself) coders taking the course should be similarly stumped.
Just as an example, here is a snippet of some project instructions (“The Scoop”) –
** * Receives comment information from
comment property of request body**
** * Creates new comment and adds it to database, returns a 201 response with comment on
comment property of response body**
** * If body isn’t supplied, user with supplied username doesn’t exist, or article with supplied article ID doesn’t exist, returns a 400 response**
And here is the solution code for it. I swear we weren’t taught this, unless I’m missing something.