Web
Analytics
Fetch , Show and Post Data from WEB API in angular | Tutorial

For Consultation : +91 9887575540

Stay Connected :

Spread the love

Step1: Create Service 

ng g s Httpserviceex

Step 2: Write Following Code in Httpserviceex.ts

Step 3: Pass reference of Service into app.module.ts

Step 4. Create new component

ng g c httpex

Step 5. Write following code into component

Step 6. Run your Program

ng serve –open

Output

Angular http get and Post example

Angular http get and Post example

Select your currency