Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6867627
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:20:00+00:00 2026-05-27T03:20:00+00:00

I am trying to connect to a website. After While authentication is successful, I

  • 0

I am trying to connect to a website. After While authentication is successful, I get the following response:

{"code": "OK", 
 "data": {"session_id": "apimanager@taurusseo.com:EdiPNoBS2iYxOsAF9e2ceMbk"}, 
 "user": "apimanager@taurusseo.com"}

What is the quick and easy way to parse through the (pure text) response given above?

Also, if the response is a JSON object, then how do I parse through the response, preferably using GSON library? I just want to use a library that is supported by Google App Engine for Java and GSON is one of those.

Finally, if a response analogous to the above is an XML response, then do I have to model a struct that resembles the response above? Again, is there a quick and easy way to get the response and parse through it, preferably using XML RPC Client? Again, I just want to use a library that is supported by Google App Engine for Java. XML RPC client is just a suggestion, if you can suggest something better then kindly do so.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T03:20:01+00:00Added an answer on May 27, 2026 at 3:20 am

    I am confused as to why you would get back different data types of responses for the same request. However, you should be able to inspect the Content-Type header of the response, to determine if you should parse it as JSON or XML. As you already mentioned, you could use a library such as Gson to handle the response as JSON, or one of the build-in XML APIs (e.g. JAXP) to handle the response as XML.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to connect to a website (source code below) that requires login and
So I am trying to connect to my company's website through an HTTP authentication
While trying to connect to a database that's set to read only, the connection
I'm having problems trying to connect my website to Facebook. What I would like
I'm trying to connect to a website I made with auth that uses MD5.hex(password)
I am trying connect the asp.net membership tables in to an asp.mvc 3 website.
I have following code in html file: <html> <head> <title>My Great Website</title> </head> <body>
I am trying to connect to websites with Python and get the HTTP status
I am trying to connect to a website through a proxy. I implemented a
I'm trying to implement Facebook Connect on a website with .NET MVC using C#.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.