Reputation: 81
I am getting the following error when calling a REST API hosted on heroku, written in nodejs.
I tried all the options mentioned here, but it looks like that issue is different and hence is not helping.
I am using nodejs, expressjs, bodyparser.
This is working fine on my local machine, but is giving this error in heroku.
POST 414 (Request-URI Too Long)
Upvotes: 3
Views: 1918
Reputation: 31
Unfortunately Heroku is locked to 8kb on limit request line
The request line of the HTTP request is limited to 8192 bytes
https://devcenter.heroku.com/articles/http-routing#http-validation-and-restrictions
Upvotes: 3