java - getting JSON response from webpage -
i don't know lot area please excuse me if question vague or stupid.
i have webpage uses javascript , ajax display live data. every few seconds, request made , json response returned , data on webpage updated.
what want create program in java capture every response , interpret data. have found libraries handle json format already. however, don't know how response using java.
so example, live news feed. log data appears.
thanks
basically need make http get
request page hosts json. can using java http client. 1 in link apache commons believe there 1 built java relatively straight-forward use. when make request, return result object can use access response data , information such response headers, etc.
Comments
Post a Comment