Skip to content
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.

Example

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.

General

More proxy usage can be seen in Ops/webservice.js

Clone this wiki locally