ttu / dotnet-fake-json-server

Fake JSON Server is a Fake REST API that can be used as a Back End for prototyping or as a template for a CRUD Back End.
https://ttu.github.io/dotnet-fake-json-server/
MIT License
388 stars 84 forks source link

Change current PATCH implementation to require Content-Type application/json+merge-patch #50

Closed ttu closed 5 years ago

ttu commented 5 years ago

https://tools.ietf.org/id/draft-snell-merge-patch-02.html

Allowed Content-Types:

application/merge-patch+json
application/json+merge-patch

If Content-Type is not allowed, return 415