66408387

Date: 2021-02-28 11:12:21
Score: 8
Natty:
Report link

I actually have the same issue here. Anytime I push a request with an image less than 200Kb; it goes through as expected. But when the image parameter is exceeding 200Kb I get a CORS error.

My setup for CORS and bodyParser size params:

app.use(bodyParser.json({limit: "50mb"}));
app.use(bodyParser.urlencoded({limit: "50mb", extended: true, parameterLimit:50000}));
app.use(cors());

Not working for me :/

I'm stuck on this. Any help would be much apreciated ;)

Reasons:
  • Blacklisted phrase (1): Any help
  • RegEx Blacklisted phrase (1.5): I'm stuck
  • RegEx Blacklisted phrase (3): Any help would be much apreciated
  • Has code block (-0.5):
  • Me too answer (2): have the same issue
  • Low reputation (1):
Posted by: Jorick Lartigau