JSON from http request

Code to get JSON from the http request, then it’s stored in a char
array for JSON parsing.