We have a website on angular4. We have authorization by the domain name on another server in php, which redirects the user after authorization to the above described site on angular4 with POST data.

When you hit the site, you get the message:

cannot POST and 404 (Not Found)

Apparently, some configuration of the router is needed for the post parameters. The standard format of the form <домен>/:<Параметр1>/:<Параметр2> does not work in POST mode.

Tell me how to accept the angular POST parameters, if possible, when entering the site.

The whole story arose from the fact that angular does not see a windows user through $_SERVER["REMOTE_USER"] , which is in PHP. If there is a solution to this problem, it will also work.

    0