don't set content type in api_post_request

Since we call `request.set_form_data` we don't need to call `request.content_type` because `request.set_form_data` already sets the content_type to `application/x-www-form-urlencoded`, thus overwriting the `application/json` that was previously set.