Hello everybody,
I'm trying to build odata v4 rest api that will connect appsheet to MongoDB, but I ran into a problem that I don't know how to deal with.
Everything is working perfectly at the moment, except for deleting the record. When I request to delete a record via AppSheet, the record is not deleted. While debugging, I found that the request from AppSheet to delete a record arrives at the server as a GET instead of a DELETE.
At first I thought that there was an error on the server side and that nginx mishandling DELETE request, but if I send the DELETE request manually (e.g. using curl) the record is deleted without any issue.
Example:
I click via AppSheet at table "users" on row with "_id=test_id" to delete
Expecting request at the server:
method: DELETE
path: /users('test_id')
query: {}
Actual request at the server:
method: GET;
path: /users;
query: {"$filter":"_id eq 'test_id'"}
I've tried hard to debug this behavior, but I don't know what to do next to fix it.
I would be very grateful for any ideas. Thank you
Did you get your issue solved ?
No I didn't. It behave still really weird.
On some project it works on some it's not.
I guess odata is not a priority for AppSheet...
S pozdravem
Jan Randa
(PII Removed b y Staff)
User | Count |
---|---|
18 | |
10 | |
8 | |
6 | |
5 |