mercredi 24 décembre 2014

REST Web Service redirect

I have a web service designed in the REST architecture.


I want to have one end point for allowing the user to upload a picture.


I'm using AWS and I want to create the whole service in a way that one server is getting the requests and then (if needed) it will redirect to the relevant server for processing the request.


For example: Sending an HTTP Post request with a parameter containing a picture to: http://ift.tt/1AHDy18 will redirect the request to right server (or even directly to the right S3 path).


Just for clarification, the redirection is not the problem, but I want it to redirect the route before it receive the whole picture (for performance and time saving).


Is that possible?





Aucun commentaire:

Enregistrer un commentaire