How to test CORS on the command line with curl