lwsjs / local-web-server

A lean, modular web server for rapid full-stack development.
MIT License
1.21k stars 85 forks source link

JSON-requests not correctly proxied #27

Closed markusbrunner-design closed 8 years ago

markusbrunner-design commented 8 years ago

PROXY-REWRITE:

local-web-server proxy request +0ms from: /loginservice/de/1234, to: http://myserver/login/de?myId=1234

local-web-server RESPONSE

curl -v -H "Content-Type:application/json" --data "@testrequest.json" "http://mylocalhost/loginservice/de/1234"

75lb commented 8 years ago

hi markus.. i don't have enough information to reproduce this, it could be caused by one of several things.. could you send

if you prefer you can email me or use the gitter room

75lb commented 8 years ago

hi markus, is this still an issue with local-web-server v1.1.1?

The latest version has an updated http-proxy module and also a significant bug was fixed..

markusbrunner-design commented 8 years ago

Hey Lloyd,I installed the latest version 1.1.1 and retried, but without a remarkable effect. The problem still exists.RegardsMarkusLloyd Brookes notifications@github.com hat am 20. Februar 2016 um 17:18 geschrieben:hi markus, is this still an issue with local-web-server v1.1.1?The latest version has an updated http-proxy module and also a significant bug was fixed..—Reply to this email directly or view it on GitHub.  

75lb commented 8 years ago

hi Markus.. sorry for the long delay.. i have discovered and fixed an issue today which may also fix your problem..

could you run this command (to install ws directly from Github) and check if your issue is fixed please?

$ npm i -g 75lb/local-web-server

thanks, Lloyd