You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running Code Listing 4.32, it didn't return as expected. The error is "Request body deserialize error : missing field id at line 4 column 1". I'm not sure if this is the expected result or if there is a problem with the Chinese translated version of the book I'm currently reading. I found that when running the code in the author's code repository at /ch_04/fiunal and using the following curl command: curl --location --request POST 'http://localhost:3030/questions' \ --header 'Content-Type: application/json' \ --data-raw '{ "title":"New question", "content":"New content" }'
It returned "router not found". Thank you for answering my question.
The text was updated successfully, but these errors were encountered:
When running Code Listing 4.32, it didn't return as expected. The error is "Request body deserialize error : missing field id at line 4 column 1". I'm not sure if this is the expected result or if there is a problem with the Chinese translated version of the book I'm currently reading. I found that when running the code in the author's code repository at /ch_04/fiunal and using the following curl command:
curl --location --request POST 'http://localhost:3030/questions' \ --header 'Content-Type: application/json' \ --data-raw '{ "title":"New question", "content":"New content" }'
It returned "router not found". Thank you for answering my question.
The text was updated successfully, but these errors were encountered: