curl -IX OPTIONS https://whatever and curl -IX POST https://whatever-I (head request) with -X OPTIONS this is going to create subtle and hard to debug errors. check out https://daniel.haxx.se/blog/2015/09/11/unnecessary-use-of-curl-x/ for some examples


curl -IX OPTIONS https://whatevercurl -IX POST https://whatever-I-X OPTIONS