-
-
Save brian-gates/c5456101401ca2d4409d to your computer and use it in GitHub Desktop.
Oboe headers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
oboe({ | |
url : 'http://localhost:3000', | |
method : 'GET', | |
headers : { "Cookie": document.cookie }, | |
}); | |
oboe({ | |
url : 'http://localhost:3000', | |
method : 'GET', | |
headers : { "Cookie": "test" }, | |
}); | |
oboe({ | |
url : 'http://localhost:3000', | |
method : 'GET', | |
headers : { "Cookie": "test", "foo": "bar" }, // Request header field foo is not allowed by Access-Control-Allow-Headers | |
}); | |
$.get('http://localhost:3000'); // works |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment