Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi Our,
I´m trying to use the new API version of Umbraco Forms. We have a headless (not umbraco headless) setup, so we can´t use the Antiforegy approach.
According to the documentation, it should be possible to disable the antiforegy and use a hardcodet api-key for validation: https://docs.umbraco.com/umbraco-forms/v/10.latest-lts-2/developer/ajaxforms#api-key
I have this setup in my appSettings.json file:
But when i POST an entry from Insomnia i get an error like this:
Anybody has any idea on what could be wrong?
I use Umbraco.Forms: 10.4.2 and Umbraco 10.3.2
I have added the "Api-Key" key to the POST
Hi René,
I think the entire "Forms" section of the appsettings needs to be a sibling of "CMS" - looks like you've put it inside as a child instead?
I did this once and wasted an hour of debugging email-notifications :(
/Chriztian
You are so right Chriztian! Thanks man, I owe you one 🙏
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Problem with Umbraco Forms POST Api
Hi Our,
I´m trying to use the new API version of Umbraco Forms. We have a headless (not umbraco headless) setup, so we can´t use the Antiforegy approach.
According to the documentation, it should be possible to disable the antiforegy and use a hardcodet api-key for validation: https://docs.umbraco.com/umbraco-forms/v/10.latest-lts-2/developer/ajaxforms#api-key
I have this setup in my appSettings.json file:
But when i POST an entry from Insomnia i get an error like this:
Anybody has any idea on what could be wrong?
I use Umbraco.Forms: 10.4.2 and Umbraco 10.3.2
I have added the "Api-Key" key to the POST
Hi René,
I think the entire "Forms" section of the appsettings needs to be a sibling of "CMS" - looks like you've put it inside as a child instead?
I did this once and wasted an hour of debugging email-notifications :(
/Chriztian
You are so right Chriztian! Thanks man, I owe you one 🙏
is working on a reply...