Node.js / Express server: Fix OPTIONS request (Cors)

İptal Edildi İlan edilme: 6 yıl önce Teslim sırasında ödenir
İptal Edildi Teslim sırasında ödenir

A request that work in local (POST), dont work in Node.js server (OPTIONS). Seems a cors problem.

::ffff:[login to view URL] - - [10/Sep/2017:19:10:35 +0000] "OPTIONS /api/postals HTTP/1.1" 204 -

::ffff:[login to view URL] - - [10/Sep/2017:19:10:35 +0000] "POST /api/postals HTTP/1.1" 302 28

This fix should be fast and easy with the required knowledge.

Already added but dont know how to configure:

var cors = require('cors');

...

[login to view URL](cors());

Thanks,

AngularJS Express JS Node.js

Proje NO: #15140359

Proje hakkında

17 teklif Uzak proje Aktif 6 yıl önce

Seçilen:

HealthyCoder

Dear Sir, We are a group of expert MEAN stack developers who follow the best industry standards and processes to carry out the projects. Please visit our official website: [login to view URL] Relevant Skills Daha Fazla

1 gün içinde %selectedBids___i_sum_sub_4%%project_currencyDetails_sign_sub_5% EUR
(30 Değerlendirme)
5.2

Bu iş için 17 freelancer ortalamada €33 teklif veriyor

arifjaunpur

Hello, I have experience to solve CORS issue in NodeJS & AngularJS based web application. I can help you in this issue Relevant Skills and Experience I have experience in NodeJS, ExpressJS, MongoDB, MySQL, PostgreSQL Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR
(125 Değerlendirme)
6.9
fullstackpratim

Dear Employer, Hi, my name is Parth,I am a Software Developer specializes in creating beautiful web sites and mobile app.I have completed countless MEAN stack projects so far Relevant Skills and Experience We are an e Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR
(24 Değerlendirme)
5.8
OrangeTechsol

Hello sir how are you?? i have 3+ years of experience in MEAN Stack Development . i have your requirement and its seems i can do this job. Relevant Skills and Experience please Let me know your Best time to more di Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR
(34 Değerlendirme)
5.8
laxaar

Hello, Thank you very much for sharing your requirement. I have read the brief project description and I would like to be invited for further discussion to proceed. Relevant Skills and Experience We are a team of 8 y Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR
(17 Değerlendirme)
5.8
SublimeDSystems

Run node.js script independently, read JSON, create png and save it. I have created 3 scalable applications using Node.js using Express, Loopback. One of the app is being used by 100K+ users. Relevant Skills and Exper Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR
(2 Değerlendirme)
2.3
AMDigitalS

A proposal has not yet been provided

€30 EUR in 3 gün içinde
(2 Değerlendirme)
0.8
hoangdv

I know exactly your problem, I think it is not cors origin issue. Relevant Skills and Experience You can online chat with me to talk about your issue. After that you can select me for this job or not. I have many expe Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR
(1 Yorum)
0.8
manvendra2215

i can do it Relevant Skills and Experience NodeJS developer Proposed Milestones €23 EUR - all done discuss

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR
(0 Değerlendirme)
0.0
nhamid6

I may be able to help you. I have over 7 years of experience with API. I have included an estimate for your project if you are interested or need more info please get in touch with me. Relevant Skills and Experience - Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR
(0 Değerlendirme)
0.0
vexile

A proposal has not yet been provided

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR
(0 Değerlendirme)
0.0