3. Notice the response headers look like this:
< Content-Type: text/plain
< X-Frame-Options: SAMEORIGIN
< Date: Fri, 25 Jun 2021 20:39:12 GMT
< Content-Length: 7
<
4. Compare that to the same curl request with the --proxy argument removed. You'll see that the response has a bunch more headers, including what you need for preflight authorization like:
< Access-Control-Allow-Credentials: true
< Access-Control-Allow-Headers: X-CSRF,Accept,Accept-Language,Content-Language,Content-Type,Accept-Encoding,Cookie
< Access-Control-Allow-Methods: GET,POST,PUT,DELETE,PATCH
< Access-Control-Allow-Origin: *
< Access-Control-Expose-Headers: Date,ETag
< Access-Control-Max-Age: 300
< Content-Type: text/plain
< X-Frame-Options: SAMEORIGIN
< Date: Fri, 25 Jun 2021 20:05:03 GMT
< Content-Length: 7
< Connection: keep-alive