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

Annulé Publié le il y a 6 ans Paiement à la livraison
Annulé Paiement à la livraison

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

Nº du projet : #15140359

À propos du projet

17 propositions Projet à distance Actif il y a 6 ans

Décerné à:

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 Plus

%selectedBids___i_sum_sub_4% %project_currencyDetails_sign_sub_5% EUR en 1 jour
(30 Commentaires)
5.2

17 freelances font une offre moyenne de 33 € pour ce travail

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 Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(125 Commentaires)
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 Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(24 Commentaires)
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 Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(34 Commentaires)
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 Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(17 Commentaires)
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 Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(2 Commentaires)
2.3
AMDigitalS

A proposal has not yet been provided

€30 EUR en 3 jours
(2 Commentaires)
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 Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(1 Évaluation)
0.8
manvendra2215

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

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(0 Commentaires)
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 - Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(0 Commentaires)
0.0
vexile

A proposal has not yet been provided

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(0 Commentaires)
0.0