Attempting to request a new resthook

I am attempting to set up a command in Django that requests a new webhook, however I am having issues.

`args = {"eventKey": "contact.edit", "hookUrl": "<mysite>/api/infusionsoft"}`
`headers = {"Accept": "application/json", "Content-Type": "application/json"}`
`parameters = {"access_token": access_token}`
`requests.post("https://api.infusionsoft.com/crm/rest/v1/hooks", data=args, headers=headers, params=parameters)`

When I set it up this way I get a 400 response and
{"message":"Input could not be converted to a valid request"}

Am I missing anything? I am using the requests package in Django to make this request.

Hi Nick_Wortley,

Have you had a chance to look at these docs:
https://developer.infusionsoft.com/docs/rest/#!/REST_Hooks/list_hook_event_types

Can you try unsetting the Accept headers and try it again.

Thanks
Vasanth