mattdarnell Member Licensed User Longtime User Apr 27, 2015 #1 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
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 Apr 27, 2015 #2 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 164.5 KB · Views: 139 Upvote 0
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
NJDude Expert Licensed User Longtime User Apr 28, 2015 #3 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
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)
mattdarnell Member Licensed User Longtime User May 1, 2015 #4 Thank you NJDude! Getting through this. I will chew on it this weekend and reply back with any successes! Upvote 0
Thank you NJDude! Getting through this. I will chew on it this weekend and reply back with any successes!