Forum Discussion
HTTPS OPTIONS Request
Hopefully this is a simple one.
I'm wanting to create a HTTPS monitor which queries the server for HTTP OPTIONS,
Can't figure out a way to do this, (or even if its possible) any guidance appreciated.
2 Replies
- ekaleido
Cirrus
It should essentially be the same format as a GET, but you'll want to specify the Request-URI to get options for a specific resource, otherwise you could do * to get general server options. Maybe the following for a Send string:
OPTIONS /resource.api HTTP/1.1\r\nHost: www.example.com\r\nConnection: Close\r\n
And the receive would be:
WHATEVEROPTION(S)YOUCONSIDERSUCCESSFUL
My formatting on the Send is probably a bit off, as well.
- Lee_Sutcliffe
Nacreous
I've not built an OPTIONS monitor myself but I imagine you would build one similar to a GET request: (you may need to verify the syntax of the send request)
ltm monitor http OPTIONS-MONITOR { defaults-from http destination *:* send "OPTIONS * HTTP/1.1\\r\\n" }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com