Skip to content

Commit 7360d90

Browse files
committed
[README] Mention content types
1 parent 746a0ce commit 7360d90

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,16 @@ Now when we serialize the resource, the relations will instead be links:
112112
}
113113
```
114114

115+
## Content Types
116+
117+
rivr-rest has support for the following content types using content
118+
negotiation:
119+
120+
- JSON (application/json)
121+
- [HAL](http://stateless.co/hal_specification.html) JSON (application/hal+json)
122+
- [Siren](https://github.com/kevinswiber/siren) JSON (application/vnd.siren+json)
123+
- HTML (text/html)
124+
115125
## See Also
116126

117127
- [rivr-rest-peewee](https://github.com/rivrproject/rivr-rest-peewee) - Resource extensions for building APIs with the Peewee ORM.

0 commit comments

Comments
 (0)