gulp-mock-server icon indicating copy to clipboard operation
gulp-mock-server copied to clipboard

Enable header configuration of the web server

Open andrashatvani opened this issue 9 years ago • 3 comments

Currently when sending the Content-Type or possibly also types of header, then the following error message will be displayed: Request header field Content-Type is not allowed by Access-Control-Allow-Headers in preflight response.

andrashatvani avatar Feb 15 '16 12:02 andrashatvani

I have the same issue. How do you solve this?

copperspeed avatar Jun 18 '16 18:06 copperspeed

sorry I have no idea

sanyueyu avatar Jun 20 '16 03:06 sanyueyu

With #18 you will be able to make cross origin calls. It will not allow complete configuration of the headers, though, but may be a first start :)

scyv avatar Aug 22 '16 10:08 scyv