I assume context.Api.ServiceUrl
is for the backend service URL. What's the difference between OriginalUrl
and Url
?
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@JatinSanghvi ServiceUrl contains base URL for the backend associated with the API. OriginalUrl contains full URL specified with the incoming request. Url contains the current value of the full backend URL.
Most helpful comment
@JatinSanghvi ServiceUrl contains base URL for the backend associated with the API. OriginalUrl contains full URL specified with the incoming request. Url contains the current value of the full backend URL.