Skip to content

[Question] How would I make new requests to the service? #11

Closed
@julianonunes

Description

@julianonunes

Hi Dan,

If I need to make new requests to this.dataService.getCustomersSummary() as the user types a value to filter in a Textbox, do I need to execute the same expression again or will it be different?

this.dataService.getCustomersSummary()
            .subscribe((data: ICustomer[]) => this.customers = data);

https://github.com/DanWahlin/Angular-RESTfulService/blob/master/app/customers/customers.component.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions