-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
83 changed files
with
1,388 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<div>POST to http://localhost:8080/auth/login</div> | ||
|
||
<h4>Body</h4> | ||
<div> | ||
<pre class="preformated-text"> | ||
{ | ||
"email": "chantal.terry@yahoo.com", | ||
"password": "7wh10" | ||
} </pre> | ||
</div> | ||
|
||
<h4>Headers</h4> | ||
<div> | ||
<div>Accept: */*</div> | ||
<div>User-Agent: Autotest-api-client</div> | ||
<div>Content-Type: application/json</div> | ||
</div> | ||
|
||
|
||
|
||
<h4>Curl</h4> | ||
<div> | ||
curl -v -X POST 'http://localhost:8080/auth/login' -H 'Accept: */*' -H 'User-Agent: Autotest-api-client' -H 'Content-Type: application/json' -d '{ | ||
"email": "chantal.terry@yahoo.com", | ||
"password": "7wh10" | ||
}' | ||
</div> |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<div>GET to http://localhost:8080/api/posts</div> | ||
|
||
|
||
<h4>Headers</h4> | ||
<div> | ||
<div>Authorization: Bearer eyJhbGciOiJIUzM4NCJ9.eyJzdWIiOiJjaGFudGFsLnRlcnJ5QHlhaG9vLmNvbSIsImlhdCI6MTcyNjUyMzk4NiwiZXhwIjoxNzI2NTQxOTg2fQ.kdjhzQv1k0uoC1ODuFxoupyRDRiUknTksZTCn-Y2M0pKsEneXzagYFrd90MPSJIz</div> | ||
<div>User-Agent: Autotest-api-client</div> | ||
<div>Accept: */*</div> | ||
<div>Content-Type: application/json</div> | ||
</div> | ||
|
||
|
||
|
||
<h4>Curl</h4> | ||
<div> | ||
curl -v -X GET 'http://localhost:8080/api/posts' -H 'Authorization: Bearer eyJhbGciOiJIUzM4NCJ9.eyJzdWIiOiJjaGFudGFsLnRlcnJ5QHlhaG9vLmNvbSIsImlhdCI6MTcyNjUyMzk4NiwiZXhwIjoxNzI2NTQxOTg2fQ.kdjhzQv1k0uoC1ODuFxoupyRDRiUknTksZTCn-Y2M0pKsEneXzagYFrd90MPSJIz' -H 'User-Agent: Autotest-api-client' -H 'Accept: */*' -H 'Content-Type: application/json' | ||
</div> |
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<div>Status code 404 </div> | ||
|
||
|
||
<h4>Body</h4> | ||
<div> | ||
<pre class="preformated-text"> | ||
</pre> | ||
</div> | ||
|
||
<h4>Headers</h4> | ||
<div> | ||
<div>X-Frame-Options: DENY</div> | ||
<div>Keep-Alive: timeout=60</div> | ||
<div>Cache-Control: no-cache, no-store, max-age=0, must-revalidate</div> | ||
<div>X-Content-Type-Options: nosniff</div> | ||
<div>Connection: keep-alive</div> | ||
<div>Pragma: no-cache</div> | ||
<div>Expires: 0</div> | ||
<div>X-XSS-Protection: 0</div> | ||
<div>Content-Length: 0</div> | ||
<div>Date: Mon, 16 Sep 2024 21:59:47 GMT</div> | ||
</div> | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<div>PUT to http://localhost:8080/api/posts/999999</div> | ||
|
||
<h4>Body</h4> | ||
<div> | ||
<pre class="preformated-text"> | ||
{ | ||
"id": null, | ||
"title": "Reiciendis ab fugiat aut excepturi illo nesciunt pariatur.", | ||
"message": "Modi laudantium aliquam accusamus distinctio odio unde tempore rem quo et culpa autem voluptas mollitia ex ratione et odit quidem assumenda alias eum quibusdam accusantium.", | ||
"createdAt": null, | ||
"updatedAt": null | ||
} </pre> | ||
</div> | ||
|
||
<h4>Headers</h4> | ||
<div> | ||
<div>Authorization: Bearer eyJhbGciOiJIUzM4NCJ9.eyJzdWIiOiJjaGFudGFsLnRlcnJ5QHlhaG9vLmNvbSIsImlhdCI6MTcyNjUyMzk4NiwiZXhwIjoxNzI2NTQxOTg2fQ.kdjhzQv1k0uoC1ODuFxoupyRDRiUknTksZTCn-Y2M0pKsEneXzagYFrd90MPSJIz</div> | ||
<div>User-Agent: Autotest-api-client</div> | ||
<div>Accept: */*</div> | ||
<div>Content-Type: application/json</div> | ||
</div> | ||
|
||
|
||
|
||
<h4>Curl</h4> | ||
<div> | ||
curl -v -X PUT 'http://localhost:8080/api/posts/999999' -H 'Authorization: Bearer eyJhbGciOiJIUzM4NCJ9.eyJzdWIiOiJjaGFudGFsLnRlcnJ5QHlhaG9vLmNvbSIsImlhdCI6MTcyNjUyMzk4NiwiZXhwIjoxNzI2NTQxOTg2fQ.kdjhzQv1k0uoC1ODuFxoupyRDRiUknTksZTCn-Y2M0pKsEneXzagYFrd90MPSJIz' -H 'User-Agent: Autotest-api-client' -H 'Accept: */*' -H 'Content-Type: application/json' -d '{ | ||
"id": null, | ||
"title": "Reiciendis ab fugiat aut excepturi illo nesciunt pariatur.", | ||
"message": "Modi laudantium aliquam accusamus distinctio odio unde tempore rem quo et culpa autem voluptas mollitia ex ratione et odit quidem assumenda alias eum quibusdam accusantium.", | ||
"createdAt": null, | ||
"updatedAt": null | ||
}' | ||
</div> |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<div>Status code 404 </div> | ||
|
||
|
||
<h4>Body</h4> | ||
<div> | ||
<pre class="preformated-text"> | ||
{ | ||
"error": "Post with id 999999 was not found" | ||
} </pre> | ||
</div> | ||
|
||
<h4>Headers</h4> | ||
<div> | ||
<div>X-Frame-Options: DENY</div> | ||
<div>Transfer-Encoding: chunked</div> | ||
<div>Keep-Alive: timeout=60</div> | ||
<div>Cache-Control: no-cache, no-store, max-age=0, must-revalidate</div> | ||
<div>X-Content-Type-Options: nosniff</div> | ||
<div>Connection: keep-alive</div> | ||
<div>Pragma: no-cache</div> | ||
<div>Expires: 0</div> | ||
<div>X-XSS-Protection: 0</div> | ||
<div>Date: Mon, 16 Sep 2024 21:59:47 GMT</div> | ||
<div>Content-Type: application/json</div> | ||
</div> | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<div>Status code 200 </div> | ||
|
||
|
||
<h4>Body</h4> | ||
<div> | ||
<pre class="preformated-text"> | ||
{ | ||
"id": 1, | ||
"fullName": "Horacio Skiles II", | ||
"email": "chantal.terry@yahoo.com", | ||
"createdAt": "2024-09-16T21:59:45.825+00:00", | ||
"updatedAt": "2024-09-16T21:59:45.825+00:00", | ||
"authorities": [ | ||
|
||
], | ||
"password": null, | ||
"username": null, | ||
"enabled": true, | ||
"accountNonExpired": true, | ||
"accountNonLocked": true, | ||
"credentialsNonExpired": true | ||
} </pre> | ||
</div> | ||
|
||
<h4>Headers</h4> | ||
<div> | ||
<div>X-Frame-Options: DENY</div> | ||
<div>Transfer-Encoding: chunked</div> | ||
<div>Keep-Alive: timeout=60</div> | ||
<div>Cache-Control: no-cache, no-store, max-age=0, must-revalidate</div> | ||
<div>X-Content-Type-Options: nosniff</div> | ||
<div>Connection: keep-alive</div> | ||
<div>Pragma: no-cache</div> | ||
<div>Expires: 0</div> | ||
<div>X-XSS-Protection: 0</div> | ||
<div>Date: Mon, 16 Sep 2024 21:59:47 GMT</div> | ||
<div>Content-Type: application/json</div> | ||
</div> | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<div>Status code 200 </div> | ||
|
||
|
||
<h4>Body</h4> | ||
<div> | ||
<pre class="preformated-text"> | ||
{ | ||
"token": "eyJhbGciOiJIUzM4NCJ9.eyJzdWIiOiJjaGFudGFsLnRlcnJ5QHlhaG9vLmNvbSIsImlhdCI6MTcyNjUyMzk4NiwiZXhwIjoxNzI2NTQxOTg2fQ.kdjhzQv1k0uoC1ODuFxoupyRDRiUknTksZTCn-Y2M0pKsEneXzagYFrd90MPSJIz", | ||
"expiresIn": 18000000 | ||
} </pre> | ||
</div> | ||
|
||
<h4>Headers</h4> | ||
<div> | ||
<div>X-Frame-Options: DENY</div> | ||
<div>Transfer-Encoding: chunked</div> | ||
<div>Keep-Alive: timeout=60</div> | ||
<div>Cache-Control: no-cache, no-store, max-age=0, must-revalidate</div> | ||
<div>X-Content-Type-Options: nosniff</div> | ||
<div>Connection: keep-alive</div> | ||
<div>Pragma: no-cache</div> | ||
<div>Expires: 0</div> | ||
<div>X-XSS-Protection: 0</div> | ||
<div>Date: Mon, 16 Sep 2024 21:59:45 GMT</div> | ||
<div>Content-Type: application/json</div> | ||
</div> | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<div>Status code 204 </div> | ||
|
||
|
||
<h4>Body</h4> | ||
<div> | ||
<pre class="preformated-text"> | ||
</pre> | ||
</div> | ||
|
||
<h4>Headers</h4> | ||
<div> | ||
<div>X-Frame-Options: DENY</div> | ||
<div>Keep-Alive: timeout=60</div> | ||
<div>Cache-Control: no-cache, no-store, max-age=0, must-revalidate</div> | ||
<div>X-Content-Type-Options: nosniff</div> | ||
<div>Connection: keep-alive</div> | ||
<div>Pragma: no-cache</div> | ||
<div>Expires: 0</div> | ||
<div>X-XSS-Protection: 0</div> | ||
<div>Date: Mon, 16 Sep 2024 21:59:47 GMT</div> | ||
</div> | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<div>GET to http://localhost:8080/api/posts/3</div> | ||
|
||
|
||
<h4>Headers</h4> | ||
<div> | ||
<div>Authorization: Bearer eyJhbGciOiJIUzM4NCJ9.eyJzdWIiOiJjaGFudGFsLnRlcnJ5QHlhaG9vLmNvbSIsImlhdCI6MTcyNjUyMzk4NiwiZXhwIjoxNzI2NTQxOTg2fQ.kdjhzQv1k0uoC1ODuFxoupyRDRiUknTksZTCn-Y2M0pKsEneXzagYFrd90MPSJIz</div> | ||
<div>User-Agent: Autotest-api-client</div> | ||
<div>Accept: */*</div> | ||
<div>Content-Type: application/json</div> | ||
</div> | ||
|
||
|
||
|
||
<h4>Curl</h4> | ||
<div> | ||
curl -v -X GET 'http://localhost:8080/api/posts/3' -H 'Authorization: Bearer eyJhbGciOiJIUzM4NCJ9.eyJzdWIiOiJjaGFudGFsLnRlcnJ5QHlhaG9vLmNvbSIsImlhdCI6MTcyNjUyMzk4NiwiZXhwIjoxNzI2NTQxOTg2fQ.kdjhzQv1k0uoC1ODuFxoupyRDRiUknTksZTCn-Y2M0pKsEneXzagYFrd90MPSJIz' -H 'User-Agent: Autotest-api-client' -H 'Accept: */*' -H 'Content-Type: application/json' | ||
</div> |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<div>Status code 200 </div> | ||
|
||
|
||
<h4>Body</h4> | ||
<div> | ||
<pre class="preformated-text"> | ||
{ | ||
"id": 3, | ||
"title": "Aliquam magnam sunt quae quia architecto.", | ||
"message": "Repellat totam vero aliquid harum dolore impedit officia cum dolore excepturi nostrum cum ad neque nulla quia omnis exercitationem asperiores at nobis.", | ||
"createdAt": null, | ||
"updatedAt": null | ||
} </pre> | ||
</div> | ||
|
||
<h4>Headers</h4> | ||
<div> | ||
<div>X-Frame-Options: DENY</div> | ||
<div>Transfer-Encoding: chunked</div> | ||
<div>Keep-Alive: timeout=60</div> | ||
<div>Cache-Control: no-cache, no-store, max-age=0, must-revalidate</div> | ||
<div>X-Content-Type-Options: nosniff</div> | ||
<div>Connection: keep-alive</div> | ||
<div>Pragma: no-cache</div> | ||
<div>Expires: 0</div> | ||
<div>X-XSS-Protection: 0</div> | ||
<div>Date: Mon, 16 Sep 2024 21:59:47 GMT</div> | ||
<div>Content-Type: application/json</div> | ||
</div> | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<div>Status code 200 </div> | ||
|
||
|
||
<h4>Body</h4> | ||
<div> | ||
<pre class="preformated-text"> | ||
{ | ||
"id": 1, | ||
"fullName": "Horacio Skiles II", | ||
"email": "chantal.terry@yahoo.com", | ||
"password": "$2a$10$f6isdOIPrM.3ZdAfnPkHNOhi5WntxOnlb42CsyRHoOth0JKai.eFW", | ||
"createdAt": "2024-09-16T21:59:45.825+00:00", | ||
"updatedAt": "2024-09-16T21:59:45.825+00:00", | ||
"authorities": [ | ||
|
||
], | ||
"username": "chantal.terry@yahoo.com", | ||
"enabled": true, | ||
"accountNonExpired": true, | ||
"accountNonLocked": true, | ||
"credentialsNonExpired": true | ||
} </pre> | ||
</div> | ||
|
||
<h4>Headers</h4> | ||
<div> | ||
<div>X-Frame-Options: DENY</div> | ||
<div>Transfer-Encoding: chunked</div> | ||
<div>Keep-Alive: timeout=60</div> | ||
<div>Cache-Control: no-cache, no-store, max-age=0, must-revalidate</div> | ||
<div>X-Content-Type-Options: nosniff</div> | ||
<div>Connection: keep-alive</div> | ||
<div>Pragma: no-cache</div> | ||
<div>Expires: 0</div> | ||
<div>X-XSS-Protection: 0</div> | ||
<div>Date: Mon, 16 Sep 2024 21:59:45 GMT</div> | ||
<div>Content-Type: application/json</div> | ||
</div> | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<div>GET to http://localhost:8080/api/posts/999999</div> | ||
|
||
|
||
<h4>Headers</h4> | ||
<div> | ||
<div>Authorization: Bearer eyJhbGciOiJIUzM4NCJ9.eyJzdWIiOiJjaGFudGFsLnRlcnJ5QHlhaG9vLmNvbSIsImlhdCI6MTcyNjUyMzk4NiwiZXhwIjoxNzI2NTQxOTg2fQ.kdjhzQv1k0uoC1ODuFxoupyRDRiUknTksZTCn-Y2M0pKsEneXzagYFrd90MPSJIz</div> | ||
<div>User-Agent: Autotest-api-client</div> | ||
<div>Accept: */*</div> | ||
<div>Content-Type: application/json</div> | ||
</div> | ||
|
||
|
||
|
||
<h4>Curl</h4> | ||
<div> | ||
curl -v -X GET 'http://localhost:8080/api/posts/999999' -H 'Authorization: Bearer eyJhbGciOiJIUzM4NCJ9.eyJzdWIiOiJjaGFudGFsLnRlcnJ5QHlhaG9vLmNvbSIsImlhdCI6MTcyNjUyMzk4NiwiZXhwIjoxNzI2NTQxOTg2fQ.kdjhzQv1k0uoC1ODuFxoupyRDRiUknTksZTCn-Y2M0pKsEneXzagYFrd90MPSJIz' -H 'User-Agent: Autotest-api-client' -H 'Accept: */*' -H 'Content-Type: application/json' | ||
</div> |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<div>GET to http://localhost:8080/api/me</div> | ||
|
||
|
||
<h4>Headers</h4> | ||
<div> | ||
<div>Authorization: Bearer eyJhbGciOiJIUzM4NCJ9.eyJzdWIiOiJjaGFudGFsLnRlcnJ5QHlhaG9vLmNvbSIsImlhdCI6MTcyNjUyMzk4NiwiZXhwIjoxNzI2NTQxOTg2fQ.kdjhzQv1k0uoC1ODuFxoupyRDRiUknTksZTCn-Y2M0pKsEneXzagYFrd90MPSJIz</div> | ||
<div>User-Agent: Autotest-api-client</div> | ||
<div>Accept: */*</div> | ||
<div>Content-Type: application/json</div> | ||
</div> | ||
|
||
|
||
|
||
<h4>Curl</h4> | ||
<div> | ||
curl -v -X GET 'http://localhost:8080/api/me' -H 'Authorization: Bearer eyJhbGciOiJIUzM4NCJ9.eyJzdWIiOiJjaGFudGFsLnRlcnJ5QHlhaG9vLmNvbSIsImlhdCI6MTcyNjUyMzk4NiwiZXhwIjoxNzI2NTQxOTg2fQ.kdjhzQv1k0uoC1ODuFxoupyRDRiUknTksZTCn-Y2M0pKsEneXzagYFrd90MPSJIz' -H 'User-Agent: Autotest-api-client' -H 'Accept: */*' -H 'Content-Type: application/json' | ||
</div> |
Oops, something went wrong.