Recently, I was testing an API, which can be accessed directly with the curl command, specifying the header related configuration, request body (JSON), and returning a JSON after success. Originally, I wanted to create a static page html, and I used fetch to create a simple demo in the script tag. However, I encountered cross