-
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.
Signed-off-by: flashdagger <flashdagger@googlemail.com>
- Loading branch information
1 parent
4463af9
commit 9ecf2ec
Showing
13 changed files
with
142 additions
and
13 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{"method": "GET", "headers": {"Content-Type": "application/json", "Content-Length": "49"}, "url": "https://httpbin.org/basic-auth/myuser/mysecret", "status_code": 200, "encoding": "utf-8", "reason": "OK", "content_size": 49} | ||
{ | ||
"authenticated": true, | ||
"user": "myuser" | ||
} | ||
|
||
{"method": "GET", "headers": {"Content-Type": "application/json", "Content-Length": "49"}, "url": "https://httpbin.org/hidden-basic-auth/myuser/mysecret", "status_code": 200, "encoding": "utf-8", "reason": "OK", "content_size": 49} | ||
{ | ||
"authenticated": true, | ||
"user": "myuser" | ||
} | ||
|
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,6 @@ | ||
{"method": "GET", "headers": {"Content-Type": "application/json; charset=utf-8", "Content-Length": "626"}, "url": "https://localhost/api/v1/users/me", "status_code": 200, "encoding": "utf-8", "reason": "OK", "content_size": 626} | ||
{"id":1,"organization_id":null,"login":"-","firstname":"-","lastname":"","email":"","image":null,"image_source":null,"vip":false,"verified":false,"active":false,"last_login":null,"source":null,"login_failed":0,"out_of_office":false,"out_of_office_start_at":null,"out_of_office_end_at":null,"out_of_office_replacement_id":null,"preferences":{"tickets_closed":0,"tickets_open":0},"updated_by_id":3,"created_by_id":1,"created_at":"2023-09-22T20:15:52.579Z","updated_at":"2023-10-14T01:31:18.352Z","role_ids":[3],"two_factor_preference_ids":[],"organization_ids":[],"authorization_ids":[],"overview_sorting_ids":[],"group_ids":{}} | ||
{"method": "GET", "headers": {"Content-Type": "application/json; charset=utf-8", "Content-Length": "677"}, "url": "https://localhost/api/v1/users/me", "status_code": 200, "encoding": "utf-8", "reason": "OK", "content_size": 677} | ||
{"id":2,"organization_id":1,"login":"nicole.braun@zammad.org","firstname":"Nicole","lastname":"Braun","email":"nicole.braun@zammad.org","image":null,"image_source":null,"vip":false,"verified":false,"active":true,"last_login":null,"source":null,"login_failed":0,"out_of_office":false,"out_of_office_start_at":null,"out_of_office_end_at":null,"out_of_office_replacement_id":null,"preferences":{"tickets_closed":1,"tickets_open":3},"updated_by_id":2,"created_by_id":1,"created_at":"2023-09-22T20:15:54.486Z","updated_at":"2023-10-04T18:43:23.975Z","role_ids":[3],"two_factor_preference_ids":[],"organization_ids":[],"authorization_ids":[],"overview_sorting_ids":[],"group_ids":{}} | ||
{"method": "GET", "headers": {"Content-Type": "application/json; charset=utf-8", "Content-Length": "626"}, "url": "https://localhost/api/v1/users/me", "status_code": 200, "encoding": "utf-8", "reason": "OK", "content_size": 626} | ||
{"id":1,"organization_id":null,"login":"-","firstname":"-","lastname":"","email":"","image":null,"image_source":null,"vip":false,"verified":false,"active":false,"last_login":null,"source":null,"login_failed":0,"out_of_office":false,"out_of_office_start_at":null,"out_of_office_end_at":null,"out_of_office_replacement_id":null,"preferences":{"tickets_closed":0,"tickets_open":0},"updated_by_id":3,"created_by_id":1,"created_at":"2023-09-22T20:15:52.579Z","updated_at":"2023-10-14T01:31:18.352Z","role_ids":[3],"two_factor_preference_ids":[],"organization_ids":[],"authorization_ids":[],"overview_sorting_ids":[],"group_ids":{}} |
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,6 @@ | ||
{"method": "GET", "headers": {"Content-Type": "application/json; charset=utf-8"}, "url": "https://localhost/api/v1?foo=bar", "status_code": 404, "encoding": "utf-8", "reason": "Not Found", "content_size": 89} | ||
{"error":"No route matches [GET] /api/v1","error_human":"No route matches [GET] /api/v1"} | ||
{"method": "GET", "headers": {"Content-Type": "application/json; charset=utf-8"}, "url": "https://localhost/api/v1", "status_code": 404, "encoding": "utf-8", "reason": "Not Found", "content_size": 89} | ||
{"error":"No route matches [GET] /api/v1","error_human":"No route matches [GET] /api/v1"} | ||
{"method": "GET", "headers": {"Content-Type": "application/json; charset=utf-8"}, "url": "https://localhost/api/v1", "status_code": 404, "encoding": "utf-8", "reason": "Not Found", "content_size": 89} | ||
{"error":"No route matches [GET] /api/v1","error_human":"No route matches [GET] /api/v1"} |
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,6 @@ | ||
{"method": "GET", "headers": {"Content-Type": "application/json", "Content-Length": "56"}, "url": "https://httpbin.org/bearer", "status_code": 200, "encoding": "utf-8", "reason": "OK", "content_size": 56} | ||
{ | ||
"authenticated": true, | ||
"token": "AbCdEf123456" | ||
} | ||
|
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,2 @@ | ||
{"method": "GET", "headers": {"Content-Type": "application/json; charset=utf-8"}, "url": "https://localhost/api/v1?is_true=true&is_false=false", "status_code": 404, "encoding": "utf-8", "reason": "Not Found", "content_size": 89} | ||
{"error":"No route matches [GET] /api/v1","error_human":"No route matches [GET] /api/v1"} |
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,2 @@ | ||
{"method": "GET", "headers": {"Content-Type": "application/json; charset=utf-8"}, "url": "https://localhost/api/v1", "status_code": 404, "encoding": "utf-8", "reason": "Not Found", "content_size": 89} | ||
{"error":"No route matches [GET] /api/v1","error_human":"No route matches [GET] /api/v1"} |
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,2 +1,2 @@ | ||
{"method": "GET", "url": "https://localhost/api/v1/users/100", "status_code": 404, "encoding": "utf-8", "reason": "Not Found", "content_size": 93} | ||
{"error":"Couldn't find User with 'id'=100","error_human":"Couldn't find User with 'id'=100"} | ||
{"method": "GET", "url": "https://localhost/api/v1/users/0", "status_code": 404, "encoding": "utf-8", "reason": "Not Found", "content_size": 89} | ||
{"error":"Couldn't find User with 'id'=0","error_human":"Couldn't find User with 'id'=0"} |
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,2 @@ | ||
{"method": "GET", "headers": {"Content-Type": "text/html; charset=utf-8", "Content-Length": "0"}, "url": "https://httpbin.org/status/404", "status_code": 404, "encoding": "utf-8", "reason": "NOT FOUND", "content_size": 0} | ||
|
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,2 @@ | ||
{"method": "GET", "headers": {"Content-Type": "text/html; charset=utf-8", "Content-Length": "0"}, "url": "https://httpbin.org/status/200", "status_code": 200, "encoding": "utf-8", "reason": "OK", "content_size": 0} | ||
|
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,2 +1,2 @@ | ||
{"method": "GET", "url": "https://localhost/api/v1/version", "status_code": 200, "encoding": "utf-8", "reason": "OK", "content_size": 45} | ||
{"method": "GET", "headers": {"Content-Type": "application/json; charset=utf-8", "Content-Length": "45"}, "url": "https://localhost/api/v1/version", "status_code": 200, "encoding": "utf-8", "reason": "OK", "content_size": 45} | ||
{"version":"6.1.0-1696849338.59fe2e15.focal"} |
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