https icon indicating copy to clipboard operation
https copied to clipboard

Not drop in replacement for requests that contain req body

Open rynop opened this issue 6 years ago • 1 comments

This lib uses body (on POST for example).

NS http lib uses content

Was this intentional or did NS lib change signature and nativescript-https just didn't keep up?

Also, I noice the request body object (HttpsRequestObject) only supports a map of string to string|number. How would one post a boolean ({"isSet":true}) or a list (["a","b"])

Thanks in advance.

rynop avatar May 08 '19 20:05 rynop

JSON.stringify({"isSet":true})

roblav96 avatar Oct 25 '19 06:10 roblav96