Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions 4. Projects/2. API-axum/Problem/Stage 1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ Create question
curl --request POST \
--url http://localhost:8000/question \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"title": "Title",
"description": "Description"
Expand All @@ -250,6 +251,7 @@ Delete question
curl --request DELETE \
--url http://localhost:8000/question \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"question_uuid": "[UUID of a created question]"
}'
Expand All @@ -261,6 +263,7 @@ Create answer
curl --request POST \
--url http://localhost:8000/answer \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"question_uuid": "[UUID of a created question]",
"content": "Content"
Expand All @@ -284,6 +287,7 @@ Delete answer
curl --request DELETE \
--url http://localhost:8000/answer \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"answer_uuid": "[UUID of a created answer]"
}'
Expand Down