iOS Question B4i send JSON 'j.GetRequest.SetContentType("application/json") problem

Tomas Petrus

Active Member
Licensed User
Hi guys I am creating B4i application from B4A app.

I am sending JSON to API and recieving response.

But in B4i it seems that this doesnt exist
B4X:
j.GetRequest.SetContentType("application/json")
So it seems I am actualy sending Map and not JSON and getting errors because of it.

How can I set request to JSON ?
thanks
 
Top