Added route that dispatch to endpoint URL