interpret content-type header #296
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
orinoco/dump-things-service!296
Loading…
Reference in a new issue
No description provided.
Delete branch "content-type"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
format1d9a5176feUse the content-type header to determine the type of the posted data in `POST /{collection}/record/{class_name}` and in `POST /{collection}/validate/record/{class_name}`. The content-types `application/json` and `text/turtle` are supported. The `format`-parameter is still supported and can be used to override the type specified in content-type header, i.e., if the `format`-parameter is provided, it specifies the type of the posted data. Valid values for the `format`-parameter are `ttl` and `json`. Reduce logging verbosity: do not log validate calls any longer.