Get Data from URL

I’m working with an app and I want to get the data from URL to my app.
I watched many tutorials but I’m still confusing.Can anyone help me ?

Can you please elaborate…

import HTTPMODULE in your app.module.ts with this

import { HttpModule } from '@angular/http';

Then, inject HTTP into your component with this

public http: Http
this.http.get('YOUR_ENDPOINT_URL').subscribe((response) => {
   this.items = response;

Then you can put the response in the appropriate model in your view

Thank You very much!!