User283571144 posted
Hi Raza92,
I want to redirect to an Angular 2 page from ASP API. Here is my code, this code error " cannot POST subscription/confirmation". How can I successfully redirect to my confirmation page after
replace the string.
As far as I know, we couldn't directly call the client-side page from web api.
Web api is a framework that makes it easy to build HTTP services that reach a broad range of clients.
It is used for provide the rest service.
We couldn't directly call the web page from the web api.
Normally, if we want to tell the client-side redirect to another page.
I suggest you could add the redirect page url in the response.
Then we could write codes in the client-side which will redirect to the url according to the response url.
Best Regards,
Brando