I'm using the latest angular and angular cli. I made proxy.conf.json that looks like:

```
{

"/api": {
    "target": "http://localhost:3000",
    "changeOrigin": true,
    "secure": false,
    "logLevel": "debug"
  }
}

```

My server run on port 3000 with this code (just to check):

```
app.get('/api/login', function (req, res) {
    res.send('Hello Worfdbfbdld!')
})

app.get('/login', function (req, res) {
    res.send('Hello Worfdbfbdld!')
})

app.listen(3000, function () {
    console.log('Example app listening on port 3000!')
})

```

Then I run it all with:

```
ng serve --proxy-config proxy.conf.json

```

In angular I have this ajax call:

```
this.http.get("/api/login").subscribe(data => {
        console.log(data)
    })

```

Then I get 404. any idea?