o2r-project / api

Reproducibility service RESTful web API specification and documentation
https://o2r.info/api
Other
3 stars 8 forks source link

Clarify content types of the API and extend the microservice's tests #54

Closed nuest closed 4 years ago

nuest commented 7 years ago

Right now we don't check the content types of requests, because the whole API is all JSON. Nevertheless, we should use the correct content types and return errors if wrong content types are used.

This could be part of a "general" section, because it applies to all APIs.

nuest commented 4 years ago

Should be the case by now.