I'm using Angular 4 and Laravel 5.4.

When I'm using Postman and querying the next route: <http://ventas.dev./api/ubigeo>, it return two records because I have the next code:

```
$tot = Ubigeo::where('dist', 'like', '%'. $request->input('term') . '%')->count();
return response()->json(["ubigeo" => $tot], 201);

```

But when I call the same route from Angular it return all records from Ubigeo table.

Why I have this problem?

From Postman:
<https://ibb.co/n5PraF>

From Chrome (Angular):
<https://ibb.co/bW8HFF>