-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Description
The "Data updates" benchmark sends a GET request to /updates. However, this changes the DB and should not be a GET - GETs are idempotent.
This might sound like nit-picking, but I was trying to fix the benchmarks for the postgREST project, but I can't get the update benchmark to work. That's because postgREST generates a REST API out of your database and it enforces transaction access mode according to the HTTP method. I.e., it will start a READ_ONLY transaction for GET requests.
Any chance this could be configurable, as not to break existing implementations, but use POST for new ones?
Metadata
Metadata
Assignees
Labels
No labels