Hey guys, love the extension.
I have one small issue, I can't seem to figure out the json data schema when POSTing to an endpoint for entry creation. Can you please advise? (The documentation only shows a http form POST example)
I have already tried the following...
{"first-name": "Damien", "last-name": "Oliver", email: "example@example.com"}
{fields:{"first-name": "Damien", "last-name": "Oliver", email: "example@example.com"}}
{"fields['first-name']": "Damien", "fields['last-name']": "Oliver", "fields[email]": "example@example.com"}
{"first-name":{"value":"Damien"},"email":{"value":"example@example.com"}}
...with no luck, the response is always:
{"response":{"_result":"error","message":{"_message-id":"102","value":"Entry encountered errors when saving."},"first-name":{"_label":"First Name","_type":"missing","_message-id":"301","_message":"\u2018First Name\u2019 is a required field.","value":""},"post-values":{"value":""}}}
Thanks guys!, I'm sure it is something simple.
Hey guys, love the extension.
I have one small issue, I can't seem to figure out the json data schema when POSTing to an endpoint for entry creation. Can you please advise? (The documentation only shows a http form POST example)
I have already tried the following...
{"first-name": "Damien", "last-name": "Oliver", email: "example@example.com"}{fields:{"first-name": "Damien", "last-name": "Oliver", email: "example@example.com"}}{"fields['first-name']": "Damien", "fields['last-name']": "Oliver", "fields[email]": "example@example.com"}{"first-name":{"value":"Damien"},"email":{"value":"example@example.com"}}...with no luck, the response is always:
{"response":{"_result":"error","message":{"_message-id":"102","value":"Entry encountered errors when saving."},"first-name":{"_label":"First Name","_type":"missing","_message-id":"301","_message":"\u2018First Name\u2019 is a required field.","value":""},"post-values":{"value":""}}}Thanks guys!, I'm sure it is something simple.