saltcorn: POST requests not working on production
Describe the bug
Tried making POST requests to make updates on table rows but the request returns Invalid form data, try again
To Reproduce Steps to reproduce the behavior:
- Make a POST request on postman for a live server e.g https://apitest.saltcorn/api/{tablename}/{id}
- Set the necessary headers and auth and json body
- Ensure correct permissions on table
Expected behavior A success json should be returned.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 18 (9 by maintainers)
@anzacloud I’ve found workaround: Add a header
x-saltcorn-client: mobile-app.