REMINDER
Please be respectful of all AppDragers! Keep it really civil so that we can make the AppDrag community of builders as embracing, positive and inspiring as possible.
SOLVED External API Call
-
I am trying to call the API externally to create a record in the cloud backend. It creates a record, but with empty fields. I am using the tutorial, and from the front-end works fine. Here is the JSON being passed.
{
"name": "Dirk Moore",
"email": "test@mac.com",
"DOB": "1978-01-01"
} -
Hey @riichard-moore, if you check on your function documentation you will find exemples on how to call your function from various languages
It seems you are trying to post a json payload to your api endpoint instead of using form data as showed in the documentation
-
@jbenguira is it possible to pass as a REST endpoint as opposed to sending it as form data?
-
@riichard-moore I get it now LOL.