create a contest
Designing
Request
Add the parameter Authorization
to Headers,whose value is to concatenate the Token after the Bearer. Example:Authorization: Bearer ********************
Body Params application/json
Request samples
curl --location --request POST '/contests' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoxLCJleHAiOjE3MDM1ODEyMDcsImlzcyI6Imp3dCJ9.7pOuZmvBeDx6CN2i2qFP9-V2i8wNjE3gJyNk_0ZIWSA' \
--header 'Content-Type: application/json' \
--data-raw '{
"game_id": 2
}'
Responses
application/json Modified at 2023-12-25 09:03:11