- From: Brenton Simpson <notifications@github.com>
- Date: Thu, 07 May 2015 10:25:16 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Thursday, 7 May 2015 17:25:47 UTC
One solution could be a `type` parameter. If set to `"json"`, it will wrap your body in `JSON.stringify` and set the appropriate `Content-Type` header. If set to `"form"`, it will encode your body as form data and set the appropriate header. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/47#issuecomment-99944493
Received on Thursday, 7 May 2015 17:25:47 UTC