Hi Team,
I have created a simple form using Google excel in EDS.
Google excel file name: user-form
Sheet Names:
1) helix-default - To create form fields
2) incoming: - To store the data
3) helix-branch - For dropdown options
Please see the screenshot below.
helix-default sheet
incoming sheet
This is the form look like in my page
I am facing an issue while submitting my form. When I try to send a POST request to http://localhost:3000/user-form, it throws a 405 Method Not Allowed error. I have set the method as POST in my form, but the request is still not accepted. Could you please guide me on how to enable POST requests for this route or if I need to configure it differently?
See the console error while submitting the form - 405 method not allowed
Solved! Go to Solution.
Views
Replies
Total Likes
Please check https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/edge-delivery/bu...
You may need to send data to
POST 'https://admin.aem.page/form/{owner}/{repo}/{branch}/{form}.json'
Hi @Veera_Nagi_ReddyJa ,
Right now, the error you are seeing (405 Method Not Allowed) happens because Edge Delivery Services (EDS) does not allow direct POST requests to your form route. In simple words, the /user-form path is not built to accept POST by default, which is why your request is blocked. To fix this, you have two options. The easiest way is to change your form method to GET instead of POST, since EDS supports GET submissions out of the box and will automatically push the form data into the incoming sheet. If you really want to use POST, then you’ll need to set up your own backend handler, like a serverless function or API, that receives the data and writes it into the sheet. For your current setup, I recommend switching the method to GET so that the form works smoothly with your Google Sheet without extra configuration.
Thanks,
Vishal Kakde
Please check https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/edge-delivery/bu...
You may need to send data to
POST 'https://admin.aem.page/form/{owner}/{repo}/{branch}/{form}.json'
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies