Skip to content

Instantly share code, notes, and snippets.

@stefanocarli
Last active February 7, 2020 09:32
Show Gist options
  • Save stefanocarli/48e80e464c78b82cfaa809eaefa55216 to your computer and use it in GitHub Desktop.
Save stefanocarli/48e80e464c78b82cfaa809eaefa55216 to your computer and use it in GitHub Desktop.

Revisions

  1. stefanocarli renamed this gist Feb 7, 2020. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. stefanocarli created this gist Feb 7, 2020.
    4 changes: 4 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    curl -I -X OPTIONS \
    -H "Origin: https://WWW.EXAMPLE.COM" \
    -H 'Access-Control-Request-Method: GET' \
    https://WWW.EXAMPLE.COM/SUBFOLDER 2>&1 | grep 'Access-Control-Allow-Origin'