-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When saving a form, it sends a GET request instead of POST. #489
Comments
I'm not sure what could be happening, but it looks like your two network request screenshots are showing two different things -- the first on localhost shows the POST request to im_admissions ( The second on new.siil.ch shows the GET request to Is there a POST request showing on staging once you submit the form? |
Screencast from 12.09.2024 15:45:48.webm |
I apologize for thinking about your gem. It turned out that the problem was in nginx - POST /admin/im_admissions/1 HTTP/1.1" 413. I’m not a devops, it’s just a company saving money, so it took me a long time to find out what the reason was. Thank you for telling me to pause the video and see the request. |
I'm glad you were able to find the solution, as I was running out of ideas. I am a little surprised that Trestle didn't show an error modal when the 413 status response was received so I will definitely investigate that further. |
I'm trying to create an entity. Locally it works as it should, I launched a local production environment and it also works. On
The stage server sends only GET at once. Same thing in 0.10.0pre.
These are requests from the same form, one locally and the other from the server
This is the form itself in the layout on the server, ideally it should send POST
The text was updated successfully, but these errors were encountered: