300 Unsupported Content Type on Create User

Hi,

I’m trying to use the REST api, and have had success with the get users endpoint.

I’m having trouble getting the create user call to work properly. I’m receiving the response below. Is anybody able to to help me work out why this isnt working?

I’m able to create users through the web UI, in case that is relevent.

 

Request Information

Method / Endpoint
POST https://api.zoom.us/v2/users
Headers
accept: \*/\* authorization: \*\*\*\*\*\* connection: close content-type: application/x-www-form-urlencoded
Params
action: create user\_info[email]: luke\*\*\*\*\*@hotmail.com user\_info[type]: 1
Body
N/A

Response Information

Status
415
Headers
Set-Cookie: cred=BB59059FC7E8F58B5572FC9D50D28206; Path=/; Secure; HttpOnly
Data
{ "code": 300, "message": "Unsupported Content Type" }

 

Content type needs to be application/json