-
-
Save msavy/e7cc5d098be19763ced8 to your computer and use it in GitHub Desktop.
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
[msavy@mmbp tmp]$ curl -X OPTIONS -vH "Origin: forbidden.example" http://localhost:8080/apiman-gateway/123/ECHO/2?apikey=4de7d6d9-68c0-4ee7-98ee-6c31ea81c15a | |
* Hostname was NOT found in DNS cache | |
* Trying 127.0.0.1... | |
* Connected to localhost (127.0.0.1) port 8080 (#0) | |
> OPTIONS /apiman-gateway/123/ECHO/2?apikey=4de7d6d9-68c0-4ee7-98ee-6c31ea81c15a HTTP/1.1 | |
> User-Agent: curl/7.37.1 | |
> Host: localhost:8080 | |
> Accept: */* | |
> Origin: forbidden.example | |
> | |
< HTTP/1.1 405 Method Not Allowed | |
< Connection: keep-alive | |
< X-Powered-By: Undertow/1 | |
* Server WildFly/8 is not blacklisted | |
< Server: WildFly/8 | |
< Content-Length: 83 | |
< Content-Type: text/html | |
< Date: Mon, 09 Feb 2015 12:44:17 GMT | |
< | |
* Connection #0 to host localhost left intact | |
<html><head><title>Error</title></head><body>405 - Method Not Allowed</body></html>[msavy@mmbp tmp]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment