Getting Empty Body On POST

Hey guys,

I have built a simple PHP client that logs in, stores the cookie, makes a call with the cookie to /grequest/order, but I get a blank body back, with a content-length of 0. I’m racking my brain trying to figure this out. I built a client about a year ago, and it took me about 2 hours to get it working then, this time its been 3 days and 2 separate languages (go, php), I would appreciate some help.

Client Code:


FYI, there should be an accompanying config.json file that returns alias, password, and gamenumber. I haven’t posted this, but can if somebody would like to try it.