I have a content type defined with a field storing the URL for accessing an external web resource and am looking for a way to have my Drupal 7 instance manage the redirection to this external site based on the nid contained in the incoming request path (ie. mysite.com/resource/123 redirects to the location stored in field_data_field_url where nid = 123).
The driver for this requirement is that our partner sites need to publish links to these resources that will not be subject to change. Drupal will house the database of resources and I am hoping to provide an endpoint that handles the redirect without further action from the user.
I have begun exploring the Services module in attempting to solve this problem but am not making headway in figuring out how to ultimately perform a redirection. I would appreciate input on whether this is an appropriate case for this web service approach or should I be looking at another way to tackle this problem within the Drupal framework?