-
Notifications
You must be signed in to change notification settings - Fork 123
(Core API) proxy
pauloppenheim edited this page Mar 6, 2012
·
2 revisions
Any requests made to core that follow the pattern of
/Me/<instance id>/<uri>
are proxied to the specified instance id and the results returned.
This is the preferred method for URLs to be shaped around a service rather than direct communication.
GET /Me/9fdfb7e5c6551dc45300aeb0d21fdff4/test HTTP/1.0
This request would first ensure that 9fdfb7e5c6551dc45300aeb0d21fdff4 is running, and start it if not.
Then it would proxy a request to the /test URL of 9fdfb7e5c6551dc45300aeb0d21fdff4. The results returned
to the original requestor.
More proxy usage can be seen in Ops/webservice.js