I run the axios get method to call php script.but request send twice how to solve this problem. myfunction:-
axios.get(\'http://13.233.179.174/customers_
It'a Preflight request
It is an OPTIONS request, using three HTTP request headers: Access-Control-Request-Method, Access-Control-Request-Headers, and the Origin header.
Check here - https://developer.mozilla.org/en-US/docs/Glossary/Preflight_request