Skip to content

Commit 937b817

Browse files
authored
update http status code and correct mispelling (#1225)
1 parent a1fdb6a commit 937b817

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

document/4-Web_Application_Security_Testing/12-API_Testing/00-API_Testing_Overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Application APIs that conform to REST principles use the response status code of
9898
| 307 | Temporary Redirect | Temporary redirection of resource |
9999
| 400 | Bad Request | Malformed request by the client |
100100
| 401 | Unauthorized | Client is not allowed to make requests or access a particular resource |
101-
| 402 | Forbidden | Client is forbidden to access the resource |
101+
| 403 | Forbidden | Client is forbidden to access the resource |
102102
| 404 | Not Found | Resource doesn't exist or incorrect based on the request |
103103
| 405 | Method Not Allowed | Invalid method or unknown method used |
104104
| 500 | Internal Server Error | Server failed to process request due to an internal error |

document/4-Web_Application_Security_Testing/12-API_Testing/01-API_Reconnaissance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ APIs can be public or private.
1616

1717
#### Public APIs
1818

19-
Public APIs typically have their details published in a Swagger/OpenAPI document. Gaining access to this document is important to understand the attack surface. Equally important is finding older versions of this document that might show depricated but still functional code that may have security vulnerabilities.
19+
Public APIs typically have their details published in a Swagger/OpenAPI document. Gaining access to this document is important to understand the attack surface. Equally important is finding older versions of this document that might show deprecated but still functional code that may have security vulnerabilities.
2020

2121
Keep in mind that this document, however well intentioned, may not be accurate, and also may not dislose the complete API.
2222

0 commit comments

Comments
 (0)