Hello folks,

i've been developing an application and now i'm having a few troubles with 
endpoints.
Everything is working fine with the API Explorer. Now i'd like to reproduce 
some steps with a simple *curl* so that anyone can interact with the API in 
the way he/she wants.

Using the token provided by endpoints.API_EXPLORER_CLIENT_ID and getting 
from the header at API Explorer it's perfect to make a request:

*curl --header "Content-Type: application/json" \*
* --header "Authorization: Bearer ya2 ..." \*
* -X POST -d '{"name": "value"}' \*
* http://localhost:8080/_ah/api/myapi/v1/sample*


I'd like to know if it is possible to authenticate a user from a simple *curl 
*request (i.e, receive the token), or maybe a javascript request without 
using the Google JavaScript client 
library<http://code.google.com/p/google-api-javascript-client/wiki/ReferenceDocs>
.

Thanks in advance,
Ciro.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to