Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
1 vote
1 answer
99 views

Angular v18 - 404 on request

I've updated the Angular application to version 18 (18.0.1). I'm facing some issues regarding the http requests on localhost. For most of the requests I'm getting a 404. I'm behind a corporate proxy ...
anyway07's user avatar
  • 315
0 votes
0 answers
833 views

Local Angular's proxy to local api can't connect

I'm having trouble getting my local dev server of an Angular app to connect to my local PHP server of my api. It's pretty much exactly the same problem expressed in this question: ECONNREFUSED for ...
David's user avatar
  • 16.6k
1 vote
1 answer
449 views

Port forwarding in mac for local angular development

I have an AngularJS app running locally on port 8283 for development, and a python app running on port 8000. Here is an example of an Angular method: signIn: function (login, password, anon) { ...
David542's user avatar
  • 109k
0 votes
0 answers
503 views

HTTP request not getting complete when content-type as application/json instead of text/html

In my project we are using proxy to connect with multiple server api calls, i.e, website url ---> proxy url -----> Server ( getting result) if I request any API call with content-type as "text/html"...
K6t's user avatar
  • 1,845
1 vote
0 answers
28 views

Problems with proxy and problems with creating/running Angular applications using Angular CLI

After updating Angular CLI I have problems with creating/running Angular applications using Angular CLI. I tried to reinstall node, to reinstall CLI, to install old versions of node and CLI. All the ...
Nikita Gimon's user avatar
0 votes
0 answers
575 views

encrypting the network connectivity - proxy password in npm [duplicate]

I am using npm with angular for installing the packages over the network and currently I've configured the corporate proxy userid and password and it works fine in my corporate LAN. No issues there. ...
spatik's user avatar
  • 113
2 votes
1 answer
1k views

Angular Proxy works for GET request but fails POST request

I made a proxy for my requests on my angular app, and I got my GET request to properly redirect to http://localhost:3000/api/users but my POST request still goes to http://localhost:4200/api/...
Joseph hooper's user avatar
0 votes
1 answer
275 views

Angular Using Random Url For Requests

I'm trying to create a proxy for my angular application and my post request keeps getting sent to http://www.gamersunite.com/users even though i'm trying to post to http://localhost:3000/api/...
Joseph hooper's user avatar
4 votes
0 answers
3k views

Angular app and API both behind NGINX reverse proxy

I have an Angular 4 app using RouterModule. It is served by one server and it makes API calls to another server on different port, hosted on the same machine. To cope with the cross-origin issue I use ...
nyxz's user avatar
  • 7,228
0 votes
1 answer
746 views

Node: run npm server and proxy in different folders with one command?

We currently have a project with a server folder and a client folder. To run the project we have to cd to server folder, type npm run nodemon then, in a new Terminal tab/window, switch to the client ...
Steve's user avatar
  • 14.8k
0 votes
1 answer
404 views

frontend+backend: koa-proxy error 404

I have a Node app as backend and I want to hook it up with an AngularJs frontend. They sit under the same repo, on different folders. My Node app is working fine, I can interact with it using Postman ...
Alvaro Cavalcanti's user avatar
1 vote
0 answers
645 views

How to configure redirection to index page with spring boot and zuul proxy for SPA app?

I try to use spring boot and angular spa app. I need to proxy some requests to another server. I've configured zuul proxy with this configuration zuul.routes.api.path=/api/** zuul.ignored-patterns=/...
BILL's user avatar
  • 4,819
1 vote
1 answer
678 views

Proxy forward different PORTs on the same HOST to avoid CORS

I need to have Angular production app on my.domain.com, where production html and javascript is. I need to call api on same server as my.domain.com ip. 123.123.123.123:8080 on port 8080. App is on ...
changtung's user avatar
  • 1,624
0 votes
1 answer
2k views

how to set system proxy from angular js app

I am creating an app using node js and angular ui, where i need to ping a server. To ping a server i have written the folloing code, which works perfectly : app.get("/api/getPing", function (req, res)...
user3252039's user avatar
0 votes
1 answer
455 views

Angular 2.0 service call not going through http-proxy-middleware

I have an Angular 2.0 application and recently I added http-proxy-middleware with the following bs-config.js: var proxyMiddleware = require('http-proxy-middleware'); module.exports = { server: { ...
Adolfo Perez's user avatar
  • 2,864

15 30 50 per page