cauli icon indicating copy to clipboard operation
cauli copied to clipboard

Added an URLRequest extension to generate cURL commands

Open pstued opened this issue 3 years ago • 1 comments

This PR adds an extension for URLRequest to transform a request to a cURL command. So far the cURL extension is not hooked up to any UI component since I'm not sure where this would fit the best. I'm open for any input on this one!

What do you think adding a copy as cURL functionality on this screen? Maybe even just as an UIActivity to the UIActivityViewController. Screenshot 2021-03-14 at 14 04 55

pstued avatar Mar 14 '21 13:03 pstued

This is how it could look like. (fyi: @brototyp @lukaswuerzburger) Screenshot 2021-03-14 at 15 17 51

Will add an image from the system provided ones: https://developer.apple.com/design/resources/

Screenshot 2021-03-14 at 15 23 42

pstued avatar Mar 14 '21 14:03 pstued