Specify type of request for XMLHttpRequest transport.
Security is hard.