-
Notifications
You must be signed in to change notification settings - Fork 28
Add general guidance for using the ZAP API with curl #247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add general guidance for using the ZAP API with curl #247
Conversation
Expanded the description for the addAlertFilter endpoint to include additional notes and requirements. Signed-off-by: SachinAditya <98205043+SachinAditya@users.noreply.github.com>
This pull request adds general guidance on using the ZAP API with curl, focusing on common usage details such as parameter encoding, boolean parameters, and typical pitfalls when constructing API requests. The documentation is added at a general level (welcome/introduction), without modifying any generated or endpoint-specific API definitions. This change follows the feedback provided on PR zaproxy#244 and Issue zaproxy#88, by keeping endpoint documentation unchanged while improving overall API usability for users interacting with the ZAP API via curl. Signed-off-by: Sachin Vishwakarma <98205043+SachinAditya@users.noreply.github.com>
This pull request adds general guidance on using the ZAP API with curl, focusing on common usage details such as parameter encoding, boolean parameters, and typical pitfalls when constructing API requests. The documentation is added at a general level (welcome/introduction), without modifying any generated or endpoint-specific API definitions. This change follows the feedback provided on PR zaproxy#244 and Issue zaproxy#88, by keeping endpoint documentation unchanged while improving overall API usability for users interacting with the ZAP API via curl. Signed-off-by: Sachin Vishwakarma <98205043+SachinAditya@users.noreply.github.com>
This change moves the general curl usage guidance under the "Access the API" section, where the API URL format and access details are already introduced. The content remains general and avoids modifying any generated or endpoint-specific API documentation, following maintainer feedback. This improves the structure and readability of the documentation for users interacting with the ZAP API via curl. Signed-off-by: Sachin Vishwakarma <98205043+SachinAditya@users.noreply.github.com>
|
Hi @mentor-thc202 👋 |
Signed-off-by: Sachin Vishwakarma <98205043+SachinAditya@users.noreply.github.com>
|
Good catch, you’re right — that statement was too strong. |
Signed-off-by: Sachin Vishwakarma <98205043+SachinAditya@users.noreply.github.com>
|
Thanks for pointing that out, you’re right. |
|
Thanks for the detailed review @thc202, much appreciated. I’ve now:
The PR should now only contain curl-specific guidance as discussed. Please let me know if anything else should be adjusted. |
|
This is still pending #247 (comment) see the whole diff in https://github.com/zaproxy/zap-api-docs/pull/247/files |
Signed-off-by: Sachin Vishwakarma <98205043+SachinAditya@users.noreply.github.com>
Signed-off-by: Sachin Vishwakarma <98205043+SachinAditya@users.noreply.github.com>
Signed-off-by: Sachin Vishwakarma <98205043+SachinAditya@users.noreply.github.com>
Signed-off-by: Sachin Vishwakarma <98205043+SachinAditya@users.noreply.github.com>
|
Thank you! |
| ``` | ||
| ### Client SDKs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a blank line between the code fence and heading.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kingthorin
Fixed, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kingthorin
Fixed, thanks!
Added a new section for Client SDKs in the welcome documentation. Signed-off-by: Sachin Vishwakarma <98205043+SachinAditya@users.noreply.github.com>
Head branch was pushed to by a user without write access
This PR adds general guidance on using the ZAP API with curl,
focusing on parameter encoding, boolean parameters, and common
pitfalls when constructing API requests.
The documentation is added at a general level without modifying
any generated or endpoint-specific API definitions.
This follows feedback provided on PR #244 and Issue #88, by keeping
endpoint documentation unchanged while improving overall API
usability for users interacting with the ZAP API via curl.