toggle menu
Core
2.33.0
androidJvm
switch theme
search in API
core
/
io.karte.android.utilities.http
/
JSONRequest
JSONRequest
open
class
JSONRequest
(
url
:
String
,
method
:
String
,
gzip
:
Boolean
=
true
)
:
Request
<
String
>
JSON Body Request.
Inheritors
TrackRequest
Members
Constructors
JSONRequest
Link copied to clipboard
constructor
(
url
:
String
,
method
:
String
)
constructor
(
url
:
String
,
method
:
String
,
gzip
:
Boolean
=
true
)
Properties
body
Link copied to clipboard
open
override
var
body
:
String
?
Request body
gzip
Link copied to clipboard
val
gzip
:
Boolean
headers
Link copied to clipboard
val
headers
:
MutableMap
<
String
,
String
>
HTTP headers
method
Link copied to clipboard
val
method
:
String
HTTP Request method
url
Link copied to clipboard
val
url
:
String
Request url