News for hackers. Stuff that matters.
Re:Show HN: HTTP Prompt – An HTTP CLI with autocomplete and ... by eliangcs on Friday May 20, 2016 @09:27AM (#11737548)
I'm the author of HTTP Prompt. Any questions or feedback will be appreciated. :)
Re:Show HN: HTTP Prompt – An HTTP CLI with autocomplete and ... by darkarmani on Friday May 20, 2016 @04:04PM (#11741019)
Very cool. I just checked it out. One question would be: How to use a value set in a header response in a form post?

ie: A login form requires sending a csrf_token, and i can get it out of the header instead of having to parse the html. (Set-Cookie: x_csrf_token=1463777564##e50acc406ebca9bbcad5218c3e0e96293752a830;)

Re:Show HN: HTTP Prompt – An HTTP CLI with autocomplete and ... by eliangcs on Friday May 20, 2016 @08:43PM (#11742599)
Good question. But as for now, you have to parse the HTML to get form hidden fields and then send it manually. I don't know if HTTPie supports that. If HTTPie or any of its plugins supports it, I'll consider adding this feature.
Re:Show HN: HTTP Prompt – An HTTP CLI with autocomplete and ... by toomuchtodo on Friday May 20, 2016 @02:34PM (#11740327)
Very cool tool. Thank you for sharing!
Re:Show HN: HTTP Prompt – An HTTP CLI with autocomplete and ... by kubbing on Friday May 20, 2016 @02:34PM (#11740330)
Hi, how do I POST nested JSON?
Re:Show HN: HTTP Prompt – An HTTP CLI with autocomplete and ... by eliangcs on Friday May 20, 2016 @08:38PM (#11742585)
HTTPie supports "field:=json" syntax. HTTP Prompt doesn't support it now, but it's on my roadmap.
Re:Show HN: HTTP Prompt – An HTTP CLI with autocomplete and ... by lttlrck on Friday May 20, 2016 @07:25PM (#11742319)
Wow that is a really interest take.

prompt-toolkit looks great - I'd love something like that for go...