How to achieve the invisibility of the information returned by the interface

as shown in the figure, the front end sends an ajax request and cannot see the returned data in the response. How do you do this? What do the front and rear ends do respectively
what are the benefits of doing this? Do you protect your privacy?


what is the response facade?


you can see that your request is of type option and does not have res, so you cannot see data


this is a request of type Option, and the real request without response, is the one below, and that is


if the request of the browser involves cross-domain. Then the browser will send a pre-check request (option type) for non-simple requests to determine whether the actual request is secure. This request will not have no return value in response, but will determine whether the server can accept the real request and whether to send the next request based on the returned status code.

Menu