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:

  1. Make a POST request on postman for a live server e.g https://apitest.saltcorn/api/{tablename}/{id}
  2. Set the necessary headers and auth and json body
  3. 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)

Most upvoted comments

@anzacloud I’ve found workaround: Add a header x-saltcorn-client: mobile-app.