Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Express proxy middleware not re-writing requests url #2

Closed
HarshadRanganathan opened this issue Jun 12, 2018 · 0 comments
Closed

Express proxy middleware not re-writing requests url #2

HarshadRanganathan opened this issue Jun 12, 2018 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@HarshadRanganathan
Copy link
Owner

HarshadRanganathan commented Jun 12, 2018

On running express server, the proxied requests are not re-written with the target URL. As a result the requests are failing.

Actual request:
GET https://localhost:8080/visa-proxy/website/INISOA/IOA.nsf/(getDTAvail)?openagent&type=I 400 (Bad Request)

Expected request:
GET https://reentryvisa.inis.gov.ie/website/INISOA/IOA.nsf/(getDTAvail)?openagent&type=I 200

@HarshadRanganathan HarshadRanganathan added the bug Something isn't working label Jun 12, 2018
@HarshadRanganathan HarshadRanganathan self-assigned this Jun 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant