Repeated service request with options

1

The code makes the request to the service only once: however the service is called twice by the WEB page, the first time with Request Method: OPTIONS (with empty response) and the second time with Request Method: GET (with the response of the service);

Why is the query performed twice? Depends on the sicronía? It is required that it only be executed once. The service is as follows:

    
asked by Paulo Sanchez 14.05.2018 в 05:39
source

0 answers