For restAPI to be called from browser directly it need preflight call with OPTIONS method
So I would like to ask that twitter should allow us to pass it
The public REST API does not support being called directly from a browser. You’re also likely to encounter CORS and other security issues. What is your use case?