Skip to content

Adding a curl command output #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marc-hughes
Copy link

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
Copy link
Owner

progrium commented Feb 2, 2011

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
Copy link

grahamc commented Aug 28, 2011

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

@alanjds
Copy link

alanjds commented Mar 12, 2013

+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