Skip to content

Adding a curl command output#1

Open
marc-hughes wants to merge 1 commit into
progrium:masterfrom
marc-hughes:master
Open

Adding a curl command output#1
marc-hughes wants to merge 1 commit into
progrium:masterfrom
marc-hughes:master

Conversation

@marc-hughes

Copy link
Copy Markdown

I've added a simple echoing of a curl command that a user can copy & paste to replay the request on a local server of their own choosing.

Screenshot:
https://skitch.com/mhughes/rm95m/postbin-179c0qn

Example version running:
http://postbin-marc.appspot.com/

p.s. Loving postbin, great idea

@progrium

progrium commented Feb 2, 2011

Copy link
Copy Markdown
Owner

Cool. Love the screenshot of the update. :)

I think it's a little big for a repetitive element not everybody will be using. Since the default content type for curl is form-encoded, all you really need is the urlencoded version of the payload, which happens to be the raw data of the body.

Maybe instead, you can add a new tab link next to Content and Headers called Raw that provides the original request payload in a text box (makes for easier copy and paste). Do you think that would provide the functionality you're looking for while being more integrated and generally useful?

@grahamc

grahamc commented Aug 28, 2011

Copy link
Copy Markdown

+1 on this feature, it would be quite useful.

@alanjds

alanjds commented Mar 12, 2013

Copy link
Copy Markdown

+1. Its exactly what I has looking for

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants