Unsupported Content Type


#1

Hello! 

I have an error when I trying to insert new meeting 

My request:

POST https://api.zoom.us/v2/users/wa6lsP3_TXi5RdbNJDKpqQ/meetings

Authorization: Bearer…

Content-Type:application/json

Body: 

topic:Test topic
type:1
start_time:2018-09-15T21:00:00
duration:60
timezone:America/Los_Angeles
password:1111

Response:

{
“code”: 300,
“message”: “Unsupported Content Type”
}

 

 


#2

Hello, 

Your request looks good so far. Can you send the exact curl request? Here is a one that is working example. 

curl -X POST \
https://api.zoom.us/v2/users/wtwAq4fGQRmG/meetings \
-H ‘Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3Mi’ \
-H ‘Cache-Control: no-cache’ \
-H ‘Content-Type: application/json’ \
-d ‘{
“topic”: “Test meeting json”,
“type”: 1,
“start_time”: “2018-09-12T14:00:00Z”,
“agenda”: “To test recurring meeting”
}’