I have used GET & POST ,DELETE etc. but what is this OPTIONS for? What different does it do in the controller side?
Asked
Active
Viewed 70 times
0
-
1It does nothing with Rails itself, it's all about HTTP verbs. – Roman Kiselenko May 19 '17 at 05:41
1 Answers
1
Those request methods are request-response between a client and server,
OPTIONS Returns the HTTP methods that the server supports
You can read more details from w3Schools

Rokibul Hasan
- 4,078
- 2
- 19
- 30