The OPTIONS request issued by the browser prior to every request to check the CORS status among other things.
Request URL:http://localhost/app_dev.php/tokens/anonymous
Request Method:OPTIONS
Status Code:503 Service Temporarily Unavailable
Remote Address:127.0.0.1:80
Referrer Policy:no-referrer-when-downgrade
Request Headers
OPTIONS /app_dev.php/tokens/anonymous HTTP/1.1
Host: localhost
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
Access-Control-Request-Method: POST
Origin: http://localhost:3000
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
Access-Control-Request-Headers: x-host,xxx-host
Accept: */*
Referer: http://localhost:3000/
Accept-Encoding: gzip, deflate, br
Accept-Language: en-CA,en;q=0.8,en-US;q=0.6
Response Headers
HTTP/1.1 503 Service Temporarily Unavailable
Server: nginx/1.13.6
Date: Fri, 03 Nov 2017 21:21:46 GMT
Content-Type: text/html
Content-Length: 615
Connection: keep-alive
The OPTIONS request issued by the browser prior to every request to check the CORS status among other things.
Request Headers
Response Headers