Hello, I hope this is the right topic.
So I am trying to post something to my data api that would insert a key. Everything is fine and everything works fine when I do it with python and even on my other lua end.
Here are some screenshots of the error.
Also tried using this header format but it returns a syntax error.
'Content-Type: application/json'
'Access-Control-Request-Headers: *'
'api-key: <Data API Key>'
Hi @Sin_S, welcome to the community.
Can you please post the error that you are getting? I am unable to locate the error in both of your screenshots.
PS: Please post the error and the code by pasting the text directly, it will make the post easily discoverable if someone faces a similar issue in the future.
Thanks & Regards,
Sourabh Bagrecha,
MongoDB Community Team