Tabcorp / restify-cors-middleware

CORS middleware with full W3C spec support
108 stars 64 forks source link

Only GET and OPTIONS are possible #60

Closed christophedebatz closed 6 years ago

christophedebatz commented 6 years ago

Hi, thanks for this restify plugin. I'm wondering how I can set the allowed methods. I looked at the code and I've just added the allowedMethods options to add an array of allowed methods but it does not work. I cannot make some POST request from my React front because only GET and OPTIONS methods are allowed (by default I think). Can someone help me please? Christophe.