Answers for "testing cors"

1

testing cors

curl -I -X OPTIONS \
  -H "Origin: ${MY_URL}" \
  -H 'Access-Control-Request-Method: GET' \
  "${MY_URL}/SOMETHING" 2>&1 | grep -i 'Access-Control-Allow-Origin'
Posted by: Guest on April-09-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language