Add Content-Type to all sample requests

This commit is contained in:
Jasmine Schladen
2021-02-04 13:29:10 -08:00
parent 470068f03e
commit 9a0f000259
10 changed files with 25 additions and 0 deletions

View File

@@ -106,6 +106,7 @@ class RolesList(AuthenticatedResource):
POST /roles HTTP/1.1
Host: example.com
Accept: application/json, text/javascript
Content-Type: application/json;charset=UTF-8
{
"name": "role3",
@@ -265,6 +266,7 @@ class Roles(AuthenticatedResource):
PUT /roles/1 HTTP/1.1
Host: example.com
Accept: application/json, text/javascript
Content-Type: application/json;charset=UTF-8
{
"name": "role1",