Before sending a request to the server, confirm the method is supported
by that version.
Fixed example.