The front end receives the JSON string with the response