Fix various typos, set HTTP request headers

Now this actually submits a request successfully
to my server!