Unnecessary query parameter in POST /<collection>/record/<class> endpoint #190

Open
opened 2026-01-27 22:41:49 +00:00 by candleindark · 1 comment
candleindark commented 2026-01-27 22:41:49 +00:00 (Migrated from github.com)

The query parameter of format for the POST /<collection>/record/<class> seems unnecessary since a request to this endpoint can provide a content-type header to indicate the content of the body of the request.

The query parameter of `format` for the [`POST /<collection>/record/<class>`](https://github.com/christian-monch/dump-things-server?tab=readme-ov-file#endpoints) seems unnecessary since a request to this endpoint can provide a `content-type` header to indicate the content of the body of the request.
christian-monch commented 2026-01-29 08:00:54 +00:00 (Migrated from github.com)

Good point, thanks. I will change it in the future (no timeline yet).

Good point, thanks. I will change it in the future (no timeline yet).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
orinoco/dump-things-server#190
No description provided.