I have a RESTful api that sends out notifications of various events via email e.g. order received. The emails will contain a link that takes the user to a relevant resource e.g. /orders/1234.
The problem is that these links will need to be related to the clients URL, not the RESTful api's e.g. http://ift.tt/15Mqdcp, not http://ift.tt/1Lnej9q
Whats the best way to manage this?
Aucun commentaire:
Enregistrer un commentaire