Skip to content

OPTIONS request method not available? #1766

Answered by sindresorhus
dragosMC91 asked this question in Q&A
Discussion options

You must be logged in to vote

There's no convenience method for it (e.g. got.post), but you can pass any HTTP method the method option (e.g. got(url, {method: 'OPTIONS'})).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dragosMC91
Comment options

Answer selected by sindresorhus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants