POST request No response
See original GitHub issueHi.
OS: Windows NT 10.0; Win64; x64 Node: 10.15.1 Local-web-server: 3.0.4
// lws.config.js
// -------------------------------------------
const config = require('./proxy.config');
const rewrite = config.proxyContext.map(url => {
return {
from: `${url}/(.*)`,
to: `${config.target}${url}/$1`
}
}).concat([{
from: '/pages/(.*)',
to: '/$1',
}]);
module.exports = {
spa: 'index.html',
port: 3000,
rewrite,
directory: 'build',
logFormat: 'dev',
open: true,
verbose: false,
corsCredentials: true
};
No problem sending GET requests,When sending a POST request:
Middleware error
Error: read ECONNRESET
at TLSWrap.onStreamRead
thanks!
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (8 by maintainers)
Top Results From Across the Web
In what cases an HTTP request is made but no response is ...
It often happens for two reasons: 1. OPTIONS request is failed. Top reasons in my practice: server checks authorisation on OPTIONS request.
Read more >No response after making a POST request
I am calling an API of FluidSurvey. when i make a POST request ... it post the request on the fluidSurvey but i...
Read more >There is no response body on post request? - GO REST
I am sending post request successfully and response status 201 but there is no response body. Also it doesn't exist in the API...
Read more >Status codes in HTTP - W3C
Server has received the request but there is no information to send back, and the client should stay in the same document view....
Read more >204 No Content - HTTP - MDN Web Docs - Mozilla
The HTTP 204 No Content success status response code indicates that a request has succeeded, but that the client doesn't need to navigate ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you very much for your bug fix.
Working like a charm! Thanks for the support and for the great project.