Hi, I'm are trying to create an user using admin a...
# api
g
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
It turns out the req body works with form-urlencoded and not raw json
a
Glad you figured it out 🎉