planck 2016-11-15

FWIW I don't think XhrIo will work because there's no XMLHttpRequest object

Alright. I worked it out. It was totally my fault as I was passing data with :form-params instead of :body.

I’m having trouble posting JSON data with Planck. Is this supported? It looks like it might be based on the source code, but I can’t seem to get it to work. I believe Planck may be sending a url encoded body rather than the JSON body that I want it to send.

It's some time since I wrote that code, and it's not in front of me right now, but could you tweak some headers?

I tried, but couldn’t get anything to work. I believe the problem is in wrap-form-params because it forces the body to get URL encoded before it is sent regardless of content-type.

I’m going to attempt to make use of goog.net.XhrIo instead and see how that goes.

I’ll update here tomorrow with my findings. Maybe sleep will help too.