The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

472096 (6) [Avatar] Offline
Because of an 404 I feel the need to have a confirmation about the postman test in 6.4.2, adding a review to a existing location.

in Postman I:
- make a POST request
- the address next to is: http://localhost:3000/api/locations/59d3d8c32a39cbad33e6cfba/reviews

tab: body

make 3 keys: author, rating, reviewText and filling in 3 fields

and push the 'send' button?

Joerg Jooss (9) [Avatar] Offline
That should work (does for me), but 404 indicates that your locationid was not found in the database. Or you have a bug in your API code.