rundeck-cli
rundeck-cli copied to clipboard
Request for Enhancement: Request Builder for API
I'd love to see a "stub" action that presents a formatted http URI based on a command entered in rd; it would be a fast and dependable way to build requests for users who don't have access to the rd CLI tool (CI:CD pipelines, that sort of thing), including argStrings, headers, etc. Something analogous to how rd-acl would print an ACL policy based on the desired access.
This might not deliver a lot of ROI when we have tools like Postman to build the requests in a structured way; it's just a thought. Thanks!
do you mean a way to generate and show API endpoint URL corresponding to a particular rd
command?
Yeah, like how postman can present a request in a few different formats. I concede that this is open-ended, and that not everyone wants cURL syntax, but I reckon every bit helps. It’s potentially faster and more accurate than building requests piecemeal while reading the docs, etc. Feel free to push back. ;)
On Tue, Sep 22, 2020 at 5:16 PM Greg Schueler [email protected] wrote:
do you mean a way to generate and show API endpoint URL corresponding to a particular rd command?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rundeck/rundeck-cli/issues/334#issuecomment-696986559, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEHDCC7P6KTB4LQQ3XEW6MLSHEH2HANCNFSM4RWH4SNA .
-- Yours, Niall.