Open jordan-wright opened 7 years ago
+1 2023
@Raja-Simha - This feature is still not available when posting your API documentation as documentation and not as a Workspace.
I'd like this!
+1 I would like that very much too.
+1
+1
+1 2024
+1
Hi All,
We're actively working on this issue and would like to understand your workflow better to design the right solution. If you want to discuss this, please drop me a note at shashank.awasthi@postman.com or set up a call with me using this link.
@YouMixx @dave4jr @the-white-cat @helderrscorreia @martinezpl @elizatlawy
This is similar to #1155, but I thought it'd be worth expanding on the idea.
Many APIs have request parameters that are optional or required. It would be very beneficial to be able to mark these in such a way that the request won't be sent if the param is required and not provided.
Additionally, if a param is optional, is using a variable, and isn't provided, it could be removed.
Normally, I would handle these via the
request.data
object in a pre-request script, but unfortunately that object is read-only. This also makes it difficult to use variables since if an environment variable isn't provided the actual{{}}
syntax is sent instead of a blank string unless I manually clear out the variable.I'm still fairly new to Postman, so I could be missing something.
Let me know if you have any questions, and please keep up the great work on Postman!