microsoft / restler-fuzzer

RESTler is the first stateful REST API fuzzing tool for automatically testing cloud services through their REST APIs and finding security and reliability bugs in these services.
MIT License
2.52k stars 284 forks source link

Allow specifying Content-Length as a custom payload #767

Closed marina-p closed 1 year ago

marina-p commented 1 year ago

Previously, Content-Length could only be specified as a restler_custom_payload_header, which injects the header for every request. This change allows Content-Length to also be specified as a custom payload, which only includes it in requests that declare it in the specification.

Oleggg2000 commented 11 months ago

Hi @marina-p is it possible to provide me with en example of adding Content-Length or Content-Type (that what i need) for specific request. The way showing in img isn't working for me. I might think that i've already seen that "restler_custom_payload" is replacing only and "restler_custom_payload_header" could add en extra header, but that parameter is adding for every request. What could u suggest me? Apprisiate for future replay. image specification image