How can I set the request body when using customMethod https://hackage.haskell.org/package/wreq-0.5.2.1/docs/Network-Wreq.html#v:customMethod?
post, put etc accept a parameter for the body, however there is no such parameter for customMethod.
How can I set the request body when using customMethod https://hackage.haskell.org/package/wreq-0.5.2.1/docs/Network-Wreq.html#v:customMethod?
post, put etc accept a parameter for the body, however there is no such parameter for customMethod.
Use
customPayloadMethodto specify a custom method on a request with a postable body.There are a few other variations of this depending on your needs: