openapi.json does not allow for TTL submission of records #225

Open
opened 2026-06-24 11:36:50 +00:00 by mih · 1 comment
Owner

Something like this is needed

curl -X 'POST' \
  'http://localhost:8000/collection1/record/RealThing?format=ttl' \
  -H 'X-DumpThings-Token: mytoken' \
  -H 'Content-Type: text/turtle' \
  --data-binary @- < dummy.ttl

but the only allowed content-type is application/json

I wonder if the "format" parameter is actually needed, if it is also necessary to set content-type. In the present setup both are fully redundant

Something like this is needed ``` curl -X 'POST' \ 'http://localhost:8000/collection1/record/RealThing?format=ttl' \ -H 'X-DumpThings-Token: mytoken' \ -H 'Content-Type: text/turtle' \ --data-binary @- < dummy.ttl ``` but the only allowed content-type is `application/json` I wonder if the "format" parameter is actually needed, if it is also necessary to set `content-type`. In the present setup both are fully redundant
Author
Owner

And the latter aspect has already been reported in #190!

And the latter aspect has already been reported in #190!
Sign in to join this conversation.
No milestone
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-service#225
No description provided.