On Fri, May 23, 2014 at 3:05 AM, Vikram Patil <vikram.pa...@vedantu.com>
 wrote:

>     I am trying to figure out way so I can access endpoint deployed on
> AppEngine from node.js application running on compute engine. Any
> suggestions will be really helpful.
>


Endpoints transfers data as a JSON object <http://www.json.org/>, so
accessing endpoints is as easy as sending the right HTTP request and
processing the resulting JSON response. You can use the API Explorer on the
development appserver
<https://developers.google.com/appengine/docs/python/endpoints/test_deploy#running_and_testing_api_backends_locally>
to see the correct request, how the response is structured, and then use
JSON.parse
<https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse>
to convert the response text to a JS object in the node app.


-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.

Reply via email to