Timeline for How to proxy API requests to another server?
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 30, 2022 at 11:28 | review | Low quality answers | |||
Oct 4, 2022 at 13:28 | |||||
Apr 7, 2022 at 2:18 | history | edited | elwyn | CC BY-SA 4.0 |
deleted 21 characters in body
|
Dec 1, 2016 at 23:31 | history | edited | elwyn | CC BY-SA 3.0 |
Adding outdated disclaimer
|
May 16, 2016 at 11:58 | comment | added | Marian Zagoruiko | Did that yesterday. As you said, it's just vanilla ember-cli. So I've created an ember application, generated a proxy there (there is no such generator available in angular-cli yet) and copied in to my angular app. Works good. Thanks. | |
May 16, 2016 at 5:34 | vote | accept | elwyn | ||
Jul 10, 2017 at 0:06 | |||||
May 16, 2016 at 5:34 | comment | added | elwyn |
I'm not sure - I haven't had a need to do that. The webserver is just vanilla ember-cli under the hood (for now, anyway), so maybe look into their docs? This person seems to have an example of custom proxies running: stackoverflow.com/q/30267849/227622
|
|
May 15, 2016 at 9:28 | comment | added | Marian Zagoruiko | Thanks for your answer @elwyn. Is it possible to proxy only urls matching some pattern, like '/api/v1/'? | |
May 11, 2016 at 20:43 | history | answered | elwyn | CC BY-SA 3.0 |