...
here "x-auth-token" is the name of the response header which carries the authentication token. Please replace this header name with appropriate header name as per your context.
...
here "x-auth-token" is the name of the response header which carries the authentication token. Please replace this header name with appropriate header name as per your context.