Ok, so I figured out the issue with not receiving HTTP requests, but now I'm having another problem during registration. The scenario I'm working with is a purely offline situation with no connection to the internet. I get the call to /privet/register?action=start&user=
mye...@gmail.com and send back the action and user in the JSON response, this part works fine. When I receive the follow up request to /privet/register?action=getClaimToken&user=
mye...@gmail.com I reply with the following in the HTTP response's JSON body:
{ 'action': 'getClaimToken',
'token': 'AAA111222333444555666777',
}
However, this causes Google Chrome to claim that the printer had an error and it proceeds to send a cancel request.
I also tried the response with
{ 'action': 'getClaimToken',
'token': 'AAA111222333444555666777',
}
and this also caused Chrome to claim that there was an error.
What is incorrect here, and how can I solve this in an entirely offline scenario?
On Monday, June 16, 2014 2:40:12 PM UTC-7, gene wrote: