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

Discussion in 'Android Questions' started by mattdarnell, Apr 27, 2015.

  1. mattdarnell

    mattdarnell Member Licensed 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
     
  2. mattdarnell

    mattdarnell Member Licensed 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
     

    Attached Files:

    • JSON.jpg
      JSON.jpg
      File size:
      164.5 KB
      Views:
      40
  3. NJDude

    NJDude Expert Licensed User

    You will have to send that whole string to the server (GET or POST depending on the way it's required), for example:
    Code:
    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)
     
    thedesolatesoul likes this.
  4. mattdarnell

    mattdarnell Member Licensed User

    Thank you NJDude!

    Getting through this. I will chew on it this weekend and reply back with any successes!
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice