curl -X GET "localhost:8080"
GET 8080 HTTP/1.1
Host:
Status | 200 OK |
---|---|
Vary | Origin |
Vary | Access-Control-Request-Method |
Vary | Access-Control-Request-Headers |
X-Content-Type-Options | nosniff |
X-XSS-Protection | 0 |
Cache-Control | no-cache, no-store, max-age=0, must-revalidate |
Pragma | no-cache |
Expires | 0 |
X-Frame-Options | DENY |
Content-Type | text/html |
Content-Length | 128 |
Date | Sat, 20 Jan 2024 22:07:17 GMT |
Keep-Alive | timeout=60 |
Connection | keep-alive |
curl -X POST -d '{
"username": "{{username}}",
"password": "{{password}}"
}' "localhost:8080/api/user/register"
POST 8080/api/user/register HTTP/1.1
Host:
{
"username": "{{username}}",
"password": "{{password}}"
}
Status | 200 OK |
---|---|
Vary | Origin |
Vary | Access-Control-Request-Method |
Vary | Access-Control-Request-Headers |
X-Content-Type-Options | nosniff |
X-XSS-Protection | 0 |
Cache-Control | no-cache, no-store, max-age=0, must-revalidate |
Pragma | no-cache |
Expires | 0 |
X-Frame-Options | DENY |
Content-Type | application/json |
Transfer-Encoding | chunked |
Date | Sat, 20 Jan 2024 20:25:15 GMT |
Keep-Alive | timeout=60 |
Connection | keep-alive |
|
curl -X GET "localhost:8080/api/user/current-user"
GET 8080/api/user/current-user HTTP/1.1
Host:
Status | 200 OK |
---|---|
Vary | Origin |
Vary | Access-Control-Request-Method |
Vary | Access-Control-Request-Headers |
X-Content-Type-Options | nosniff |
X-XSS-Protection | 0 |
Cache-Control | no-cache, no-store, max-age=0, must-revalidate |
Pragma | no-cache |
Expires | 0 |
X-Frame-Options | DENY |
Content-Type | application/json |
Transfer-Encoding | chunked |
Date | Sat, 20 Jan 2024 20:26:03 GMT |
Keep-Alive | timeout=60 |
Connection | keep-alive |
|
curl -X POST -d '{
"oldPassword":"{{password}}",
"newPassword":"{{newPassword}}"
}' "localhost:8080/api/user/change-password"
POST 8080/api/user/change-password HTTP/1.1
Host:
{
"oldPassword":"{{password}}",
"newPassword":"{{newPassword}}"
}
Status | 200 OK |
---|---|
Vary | Origin |
Vary | Access-Control-Request-Method |
Vary | Access-Control-Request-Headers |
X-Content-Type-Options | nosniff |
X-XSS-Protection | 0 |
Cache-Control | no-cache, no-store, max-age=0, must-revalidate |
Pragma | no-cache |
Expires | 0 |
X-Frame-Options | DENY |
Content-Type | application/json |
Transfer-Encoding | chunked |
Date | Sat, 20 Jan 2024 20:26:15 GMT |
Keep-Alive | timeout=60 |
Connection | keep-alive |
|
curl -X POST -d '{
"title": "{{postTitle}}",
"content": "{{postContent}}"
}' "localhost:8080/api/posts/new"
POST 8080/api/posts/new HTTP/1.1
Host:
{
"title": "{{postTitle}}",
"content": "{{postContent}}"
}
Status | 200 OK |
---|---|
Vary | Origin |
Vary | Access-Control-Request-Method |
Vary | Access-Control-Request-Headers |
X-Content-Type-Options | nosniff |
X-XSS-Protection | 0 |
Cache-Control | no-cache, no-store, max-age=0, must-revalidate |
Pragma | no-cache |
Expires | 0 |
X-Frame-Options | DENY |
Content-Type | application/json |
Transfer-Encoding | chunked |
Date | Sat, 20 Jan 2024 20:26:25 GMT |
Keep-Alive | timeout=60 |
Connection | keep-alive |
|
curl -X POST -d '{
"title": "{{updatedPostTitle}}",
"content": "{{updatedPostContent}}"
}' "localhost:8080/api/posts/update/{{postId}}"
POST 8080/api/posts/update/{{postId}} HTTP/1.1
Host:
{
"title": "{{updatedPostTitle}}",
"content": "{{updatedPostContent}}"
}
Status | 200 OK |
---|---|
Vary | Origin |
Vary | Access-Control-Request-Method |
Vary | Access-Control-Request-Headers |
X-Content-Type-Options | nosniff |
X-XSS-Protection | 0 |
Cache-Control | no-cache, no-store, max-age=0, must-revalidate |
Pragma | no-cache |
Expires | 0 |
X-Frame-Options | DENY |
Content-Type | application/json |
Transfer-Encoding | chunked |
Date | Sat, 20 Jan 2024 20:26:31 GMT |
Keep-Alive | timeout=60 |
Connection | keep-alive |
|
curl -X GET "localhost:8080/api/posts/post/{{postId}}"
GET 8080/api/posts/post/{{postId}} HTTP/1.1
Host:
Status | 200 OK |
---|---|
Vary | Origin |
Vary | Access-Control-Request-Method |
Vary | Access-Control-Request-Headers |
X-Content-Type-Options | nosniff |
X-XSS-Protection | 0 |
Cache-Control | no-cache, no-store, max-age=0, must-revalidate |
Pragma | no-cache |
Expires | 0 |
X-Frame-Options | DENY |
Content-Type | application/json |
Transfer-Encoding | chunked |
Date | Sat, 20 Jan 2024 20:26:36 GMT |
Keep-Alive | timeout=60 |
Connection | keep-alive |
|
curl -X GET "localhost:8080/api/posts/all"
GET 8080/api/posts/all HTTP/1.1
Host:
Status | 200 OK |
---|---|
Vary | Origin |
Vary | Access-Control-Request-Method |
Vary | Access-Control-Request-Headers |
X-Content-Type-Options | nosniff |
X-XSS-Protection | 0 |
Cache-Control | no-cache, no-store, max-age=0, must-revalidate |
Pragma | no-cache |
Expires | 0 |
X-Frame-Options | DENY |
Content-Type | application/json |
Transfer-Encoding | chunked |
Date | Sat, 20 Jan 2024 20:26:42 GMT |
Keep-Alive | timeout=60 |
Connection | keep-alive |
|
curl -X GET "localhost:8080/api/posts/all-paged?page={{page}}&size={{pageSize}}"
GET 8080/api/posts/all-paged?page={{page}}&size={{pageSize}} HTTP/1.1
Host:
Status | 200 OK |
---|---|
Vary | Origin |
Vary | Access-Control-Request-Method |
Vary | Access-Control-Request-Headers |
X-Content-Type-Options | nosniff |
X-XSS-Protection | 0 |
Cache-Control | no-cache, no-store, max-age=0, must-revalidate |
Pragma | no-cache |
Expires | 0 |
X-Frame-Options | DENY |
Content-Type | application/json |
Transfer-Encoding | chunked |
Date | Sat, 20 Jan 2024 20:26:47 GMT |
Keep-Alive | timeout=60 |
Connection | keep-alive |
|
curl -X POST -d '{
"content": "{{commentContent}}"
}' "localhost:8080/api/comments/new/{{postId}}"
POST 8080/api/comments/new/{{postId}} HTTP/1.1
Host:
{
"content": "{{commentContent}}"
}
Status | 200 OK |
---|---|
Vary | Origin |
Vary | Access-Control-Request-Method |
Vary | Access-Control-Request-Headers |
X-Content-Type-Options | nosniff |
X-XSS-Protection | 0 |
Cache-Control | no-cache, no-store, max-age=0, must-revalidate |
Pragma | no-cache |
Expires | 0 |
X-Frame-Options | DENY |
Content-Type | application/json |
Transfer-Encoding | chunked |
Date | Sat, 20 Jan 2024 20:27:01 GMT |
Keep-Alive | timeout=60 |
Connection | keep-alive |
|
curl -X POST -d '{
"content": "{{updatedCommentContent}}"
}' "localhost:8080/api/comments/update/{{commentId}}"
POST 8080/api/comments/update/{{commentId}} HTTP/1.1
Host:
{
"content": "{{updatedCommentContent}}"
}
Status | 200 OK |
---|---|
Vary | Origin |
Vary | Access-Control-Request-Method |
Vary | Access-Control-Request-Headers |
X-Content-Type-Options | nosniff |
X-XSS-Protection | 0 |
Cache-Control | no-cache, no-store, max-age=0, must-revalidate |
Pragma | no-cache |
Expires | 0 |
X-Frame-Options | DENY |
Content-Type | application/json |
Transfer-Encoding | chunked |
Date | Sat, 20 Jan 2024 20:27:07 GMT |
Keep-Alive | timeout=60 |
Connection | keep-alive |
|
curl -X GET "localhost:8080/api/comments/comment/{{commentId}}"
GET 8080/api/comments/comment/{{commentId}} HTTP/1.1
Host:
Status | 200 OK |
---|---|
Vary | Origin |
Vary | Access-Control-Request-Method |
Vary | Access-Control-Request-Headers |
X-Content-Type-Options | nosniff |
X-XSS-Protection | 0 |
Cache-Control | no-cache, no-store, max-age=0, must-revalidate |
Pragma | no-cache |
Expires | 0 |
X-Frame-Options | DENY |
Content-Type | application/json |
Transfer-Encoding | chunked |
Date | Sat, 20 Jan 2024 20:27:12 GMT |
Keep-Alive | timeout=60 |
Connection | keep-alive |
|
curl -X GET "localhost:8080/api/comments/all/{{postId}}"
GET 8080/api/comments/all/{{postId}} HTTP/1.1
Host:
Status | 200 OK |
---|---|
Vary | Origin |
Vary | Access-Control-Request-Method |
Vary | Access-Control-Request-Headers |
X-Content-Type-Options | nosniff |
X-XSS-Protection | 0 |
Cache-Control | no-cache, no-store, max-age=0, must-revalidate |
Pragma | no-cache |
Expires | 0 |
X-Frame-Options | DENY |
Content-Type | application/json |
Transfer-Encoding | chunked |
Date | Sat, 20 Jan 2024 20:27:18 GMT |
Keep-Alive | timeout=60 |
Connection | keep-alive |
|
curl -X GET "localhost:8080/api/comments/all-paged/{{postId}}?page={{page}}&size={{pageSize}}"
GET 8080/api/comments/all-paged/{{postId}}?page={{page}}&size={{pageSize}} HTTP/1.1
Host:
Status | 200 OK |
---|---|
Vary | Origin |
Vary | Access-Control-Request-Method |
Vary | Access-Control-Request-Headers |
X-Content-Type-Options | nosniff |
X-XSS-Protection | 0 |
Cache-Control | no-cache, no-store, max-age=0, must-revalidate |
Pragma | no-cache |
Expires | 0 |
X-Frame-Options | DENY |
Content-Type | application/json |
Transfer-Encoding | chunked |
Date | Sat, 20 Jan 2024 20:27:24 GMT |
Keep-Alive | timeout=60 |
Connection | keep-alive |
|
curl -X POST -d '{
"username": "{{blockUsername}}"
}' "localhost:8080/api/user/disable-user"
POST 8080/api/user/disable-user HTTP/1.1
Host:
{
"username": "{{blockUsername}}"
}
Status | 200 OK |
---|---|
Vary | Origin |
Vary | Access-Control-Request-Method |
Vary | Access-Control-Request-Headers |
X-Content-Type-Options | nosniff |
X-XSS-Protection | 0 |
Cache-Control | no-cache, no-store, max-age=0, must-revalidate |
Pragma | no-cache |
Expires | 0 |
X-Frame-Options | DENY |
Content-Type | application/json |
Transfer-Encoding | chunked |
Date | Sat, 20 Jan 2024 20:27:34 GMT |
Keep-Alive | timeout=60 |
Connection | keep-alive |
|
curl -X POST "localhost:8080/api/comments/remove/{{commentId}}"
POST 8080/api/comments/remove/{{commentId}} HTTP/1.1
Host:
Status | 200 OK |
---|---|
Vary | Origin |
Vary | Access-Control-Request-Method |
Vary | Access-Control-Request-Headers |
X-Content-Type-Options | nosniff |
X-XSS-Protection | 0 |
Cache-Control | no-cache, no-store, max-age=0, must-revalidate |
Pragma | no-cache |
Expires | 0 |
X-Frame-Options | DENY |
Content-Type | application/json |
Transfer-Encoding | chunked |
Date | Sat, 20 Jan 2024 20:27:41 GMT |
Keep-Alive | timeout=60 |
Connection | keep-alive |
|
curl -X POST "localhost:8080/api/posts/remove/{{postId}}"
POST 8080/api/posts/remove/{{postId}} HTTP/1.1
Host:
Status | 200 OK |
---|---|
Vary | Origin |
Vary | Access-Control-Request-Method |
Vary | Access-Control-Request-Headers |
X-Content-Type-Options | nosniff |
X-XSS-Protection | 0 |
Cache-Control | no-cache, no-store, max-age=0, must-revalidate |
Pragma | no-cache |
Expires | 0 |
X-Frame-Options | DENY |
Content-Type | application/json |
Transfer-Encoding | chunked |
Date | Sat, 20 Jan 2024 20:27:48 GMT |
Keep-Alive | timeout=60 |
Connection | keep-alive |
|