-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade: update dependencies [uuid supertest diff]
- Loading branch information
1 parent
bc3530b
commit 79ca509
Showing
10 changed files
with
311 additions
and
21,515 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,108 +1,105 @@ | ||
FORMAT: 1A | ||
|
||
# Users | ||
|
||
## Positive: show user profile [GET /users/:id] | ||
|
||
+ Request | ||
|
||
+ Headers | ||
|
||
User-Agent: node-superagent/3.8.3 | ||
|
||
+ Response 200 (application/json) | ||
|
||
+ Headers | ||
|
||
x-powered-by: Express | ||
x-content-type-options: nosniff | ||
content-type: application/json; charset=utf-8 | ||
content-length: 68 | ||
etag: W/"44-cKRyc1Kt3y5I1UnZTvL/GAhmNZA" | ||
date: Sun, 09 May 2021 21:58:28 GMT | ||
connection: close | ||
+ Body | ||
|
||
FORMAT: 1A | ||
|
||
# Users | ||
|
||
## Positive: show user profile [GET /users/:id] | ||
|
||
+ Request | ||
|
||
+ Headers | ||
|
||
|
||
+ Response 200 (application/json) | ||
|
||
+ Headers | ||
|
||
x-powered-by: Express | ||
x-content-type-options: nosniff | ||
content-type: application/json; charset=utf-8 | ||
content-length: 68 | ||
etag: W/"44-cKRyc1Kt3y5I1UnZTvL/GAhmNZA" | ||
date: Sun, 09 May 2021 21:58:28 GMT | ||
connection: close | ||
+ Body | ||
|
||
{ | ||
"id": 1, | ||
"name": "Leigh", | ||
"email": "helvy0@feedburner.com" | ||
} | ||
|
||
|
||
## Positive: change user name [PATCH /users/:id] | ||
|
||
+ Request | ||
|
||
+ Headers | ||
|
||
User-Agent: node-superagent/3.8.3 | ||
AUTH: 5NM2p40Z8 | ||
Content-Type: application/json | ||
|
||
+ Body | ||
|
||
} | ||
|
||
|
||
## Positive: change user name [PATCH /users/:id] | ||
|
||
+ Request | ||
|
||
+ Headers | ||
|
||
AUTH: 5NM2p40Z8 | ||
Content-Type: application/json | ||
|
||
+ Body | ||
|
||
{ | ||
"name": "McCoy" | ||
} | ||
|
||
+ Response 200 (application/json) | ||
|
||
+ Headers | ||
|
||
x-powered-by: Express | ||
x-content-type-options: nosniff | ||
content-type: application/json; charset=utf-8 | ||
content-length: 68 | ||
etag: W/"44-PoB9zlwxM1VephLL9jqUofeAwes" | ||
date: Sun, 09 May 2021 21:58:28 GMT | ||
connection: close | ||
+ Body | ||
|
||
} | ||
|
||
+ Response 200 (application/json) | ||
|
||
+ Headers | ||
|
||
x-powered-by: Express | ||
x-content-type-options: nosniff | ||
content-type: application/json; charset=utf-8 | ||
content-length: 68 | ||
etag: W/"44-PoB9zlwxM1VephLL9jqUofeAwes" | ||
date: Sun, 09 May 2021 21:58:28 GMT | ||
connection: close | ||
+ Body | ||
|
||
{ | ||
"id": 2, | ||
"name": "McCoy", | ||
"email": "pancell1@gravatar.com" | ||
} | ||
|
||
# Messages | ||
|
||
## Positive: get list of messages [GET /messages] | ||
|
||
+ Request | ||
|
||
+ Headers | ||
|
||
User-Agent: node-superagent/3.8.3 | ||
AUTH: 5NM2p40Z8 | ||
Content-Type: application/json | ||
|
||
+ Body | ||
|
||
} | ||
|
||
# Messages | ||
|
||
## Positive: get list of messages [GET /messages] | ||
|
||
+ Request | ||
|
||
+ Headers | ||
|
||
AUTH: 5NM2p40Z8 | ||
Content-Type: application/json | ||
|
||
+ Body | ||
|
||
{ | ||
"name": "McCoy" | ||
} | ||
|
||
+ Response 200 (application/json) | ||
|
||
+ Headers | ||
|
||
x-powered-by: Express | ||
x-content-type-options: nosniff | ||
content-type: application/json; charset=utf-8 | ||
content-length: 98 | ||
etag: W/"62-qllKFzcjdvCQphgbfpKVoPOu0hY" | ||
date: Sun, 09 May 2021 21:58:28 GMT | ||
connection: close | ||
+ Body | ||
|
||
} | ||
|
||
+ Response 200 (application/json) | ||
|
||
+ Headers | ||
|
||
x-powered-by: Express | ||
x-content-type-options: nosniff | ||
content-type: application/json; charset=utf-8 | ||
content-length: 98 | ||
etag: W/"62-qllKFzcjdvCQphgbfpKVoPOu0hY" | ||
date: Sun, 09 May 2021 21:58:28 GMT | ||
connection: close | ||
+ Body | ||
|
||
[ | ||
{ | ||
"text": "butter property president flow nodded degree where keep", | ||
"sender": 2 | ||
} | ||
] | ||
|
||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.