I am struggling with the walkthrough instructions in this course. I have attached an example, I completed step 13, but I do not see the expected result in the log.
Since I am on a project, I wanted to go through this training self paced. Is updated content available for the course walkthroughs?
Issue with step#9 too - I get "Bad Request" error with the curl command.
답변 1개
Hi! The reason for the BAD REQUEST is the \n in the payload. Remove those so it looks like this instead:
curl -ik -X PUT -H "Content-Type: application/json" -d "{\"lastName\":\"Smith\", \"numBags\":2 }" https://localhost:8082/api/v1/tickets/PNR123/checkin