Using Postman (or cUrl) to connect to Mobile Service (Azure)

I created a standard Azure Mobile service and followed the Add Authentication to Mobile Services App .

Registered Google for identification and got a login to work and I get a token, something like this:

{
"user":{"UserId":"Google:123123123"},
"authenticationToken":"[token]"}
}

      

Now I want to use Postman or cUrl to trigger a REST call to Mobile Service, but I don't understand how to add the token to the request.

+3


source to share


1 answer


After reading the book "Windows Azure Mobile Services" in more detail, I added the heading "X-ZUMO-AUTH" with authentication received from Google.



The Rest call is now authenticated as a User with a UserId that I got from google.

+1


source







All Articles