In this Ionic 5 HTTP tutorial, we demonstrate the basics of making HTTP requests in Ionic Angular. We will be retrieving data from an external dummy API using Ionic http get and manipulating it in our Ionic 5 mobile app. We also explore Ionic http post.
Content
-------------
00:00 - Intro
00:44 - Create mock API with mockable.io
07:11 - Support codeswag on Patreon
08:15 - Create a new ionic project
09:51 - Import Angular HttpClient
12:05 - HTTP Code
The HTTP protocol in Ionic Framework allows us to fetch data from the internet and use it in our Ionic Hybrid application. The following concepts are also covered:
How to create a mock API using mockable.io
How to use string interpolation to embed dynamic variables and expressions in angular templates
How to use the *ngFor directive to loop through data
We will be making use of the HttpClient & HttpClientModule classes from @angular/common/http
Let me know what you think of the background music :)
Special thanks to Sappheiros for the background music - / @sappheiros
Social Media Links
-------------------------------
Facebook - / codeswag.co.uk
Twitter - / charisthecoder
Instagram - / codeswag.co.uk
Support codeswag on Patreon - / codeswag
Please support this channel by buying some awesome tech gadgets for yourself or a loved one from our online store at www.codeswag.co.uk/shop