on *:SOCKOPEN:tlnet:{ ; Set the variables we want to send - in this example the player is terror and the race is zerg var %string title=terror&race=zerg ; Send POST and Host sockwrite -n $sockname POST /api/streams/update/xxxxxx.json HTTP/1.1 sockwrite -n $sockname Host: www.teamliquid.net ; Send the extra content headers sockwrite -n $sockname Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx sockwrite -n $sockname Content-Length: $len(%string) sockwrite -n $sockname Content-Type: application/x-www-form-urlencoded ; We are done, remember we have to send the %string last sockwrite $sockname $crlf sockwrite $sockname %string }