Open zrg-team opened 4 years ago
any help ?
What exactly did you try to archive by creating a map of JSONObject
s? I'm asking because you're recreating IHTTPSession
in the form of typeless map
As per your problem with post body - it seems to me you're sending json, so it needs to be parsed as a json. You can try to read from the session.inputStream
and then parse it with anything you like(jackson, Gson, etc). It seems you're trying to use this webserver quite extensively make sure you weighed out other options
I try to handle request POST
Method get request data
But when i try to fetch to API using below code
The response is