Join Slack
Powered by
Hi, I'm are trying to create an user using admin a...
# api
g
Gaurav Kelkar
01/27/2023, 8:27 AM
Hi, I'm are trying to create an user using admin api, but getting an 'invalid JSON' message. As for the steps, i followed this guide,
https://docs.cal.com/how-to-guides/how-to-test-api-in-a-local-instance
, got the test license, generated the api key and ran
yarn workspace @calcom/api dev
as per docs. I'm not sure whats wrong.
calcom_api
in the image is
localhost:3002/v1
Gaurav Kelkar
01/27/2023, 9:44 AM
It turns out the req body works with form-urlencoded and not raw json
a
Ali
01/27/2023, 9:47 AM
Glad you figured it out 🎉
2
Views
Open in Slack
Previous
Next