Android Question Looking for paid help to stub out a JSON app

mattdarnell

Member
Licensed User
Longtime User
Aloha,

I am trying to connect to a system using JSON without any success.

The system I am connecting to is well documented and I can get support.

I would be willing to pay someone to get me started.

Aloha,
Matt
 

mattdarnell

Member
Licensed User
Longtime User
Attached is an example of JSON documentation.

I would need help formatting the JSON message and set up a receive queue to handle responses.

Aloha,
Matt
 

Attachments

  • JSON.jpg
    JSON.jpg
    164.5 KB · Views: 133
Upvote 0

NJDude

Expert
Licensed User
Longtime User
You will have to send that whole string to the server (GET or POST depending on the way it's required), for example:
B4X:
Private sendJSON As String
	
sendJSON = $"{
"version":1,
"topic": "contact-center", 
"request-id": <YOUR_REQUEST_ID>,
"message": "authenticate",
"user": "<YOUR_USER_NAME>",
"password": "<YOUR_MD5_ENCRYPTED_PASSWORD>"
}"$
												
req.InitializePost2("http://www.theserverurl.com", sendJSON.GetBytes("UTF8"))
hc.Execute(req, 1)
 
Upvote 0

mattdarnell

Member
Licensed User
Longtime User
Thank you NJDude!

Getting through this. I will chew on it this weekend and reply back with any successes!
 
Upvote 0
Top