Friday, October 7, 2011

cURL line to post data to pastebin

TL;DR curl -d 'paste_code="she said wut wut, catsinthebutt"' ''

you have to send a POST to with the data you want applied in the 'paste_code' attribute. In this case, "she said wut wut, catsinthebutt" is the thing that will be posted to pastebin.

pipe that to pbcopy on a mac and bam your pastebin url is in your pastebin (yo dawg)

i said wut wut!

No comments:

Post a Comment