Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
D_Chia
Active Participant
0 Kudos
745

** work-in-progress **

Get 'http-proxy' module

npm install http-proxy

Code example to proxy request from localhost to another target host

Run and test

"node ."

Test with URL pointing to current host on port 5050. The request should be relayed to the target URL.



Motivation


- not using Eclipse with SAPUI5 plugin so there is no out-of-the-box Proxy servlet for local testing (Cross-Origins-Access issue)

- more options for "configuration" and great for some Javascript practice