In Progress

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

A request that work in local (POST) environment, dont work in Node.js production server with Firefox or Chrome. It does with IE.

Seems a cors problem (OPTIONS).

::ffff:[url removed, login to view] - - [10/Sep/2017:19:10:35 +0000] "OPTIONS /api/postals HTTP/1.1" 204 - ::ffff:[url removed, login to view] - - [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 tried to change express, nginx, angular... but dont know how to configure properly:

var cors = require('cors');

...

[url removed, login to view](cors());

Issue posted here:

[url removed, login to view]

Have you ever faced this issue?

Thanks,

Skills: Angular.js, Express JS, Nginx, node.js

See more: angular js node js express js mongo db, node.js express.js mongodb, node js and express js and three js Building NS5, node.js , Express , mongodb, express node.js, express node,js, node js server monitoring, node js rest api server, node js api server, node.js server side, sql server express front end options, java http server post options, client server details http request net, sql express server automatic backups, sql express server synchronization script

About the Employer:
( 0 reviews ) Spain

Project ID: #15252991

Awarded to:

arifjaunpur

A proposal has not yet been provided

€50 EUR in 1 day
(71 Reviews)
6.1

8 freelancers are bidding on average €30 for this job

€30 EUR in 1 day
(10 Reviews)
4.1
€23 EUR in 1 day
(1 Review)
4.0
rupanaskar

I can solve the issue, i faced the same issue when working in an IOT application Relevant Skills and Experience I have worked on IOT node based application, i have 3 years of experience in node.js app development Pro More

€19 EUR in 0 days
(0 Reviews)
0.0
€34 EUR in 1 day
(1 Review)
0.0
rikyreas14

I worked on similar issues as well strong knowledge of nodes frameworks like loopback, strongloop etc

€23 EUR in 1 day
(0 Reviews)
0.0
€23 EUR in 1 day
(0 Reviews)
0.0
rifkhan007

I already faces this kind of issue many times. I know how to fix it. let me know your thoughts. I will solve it within one day.

€34 EUR in 1 day
(0 Reviews)
0.0