Error code 415 when I invoke an action through Api

Hello!

I tried to invoke an Action using html, as I read on appsheet doc, through an Automation (in the email sent to user). The objective is to change the value of a field directly using the button from the email.

<form method="post" action="https://api.appsheet.com/api/v2/apps/appID/tables/pv/Action?applicationAccessKey=theKey" class="inline"><input type="hidden" name="Action" value="the name of the action I created"><input type="submit" style="padding: 5px 5px 5px 5px; background-color: #44C417; color: white; text-shadow: 1px 1px 2px black; border: 0px; border-radius: 3px; font-weight: bold;" value="๐Ÿ–’ the name of my button"></button></form>

But, when I click on the button in the email I receive, a new page is open with the http error 415.

Please, could someone help me on this error? What is wrong in my code?

Thank you for your help!

Regards!

Ruxandra

0 0 131
0 REPLIES 0
Top Labels in this Space