Tag: API

JavaScript fetch posts with fetch API

JavaScript fetch API: GET data from REST API and display in HTML/CSS

In this JavaScript example, we are going to fetch data from an external REST API using JavaScript fetch(). In addition to fetching posts from a third party API and list the post titles on the HTML page, we’re going to do a little HTML DOM manipulation by creating HTML elements on the fly. Watch the…
Read more

Code editor and terminal

Laravel REST API tutorial for beginners – CRUD example

Hi. So, I made a tutorial on how to create REST APIs in Laravel. This tutorial covers all the common HTTP verbs, namely: POST, GET, PUT/PATCH and DELETE. The tutorial is meant for beginners or for someone who doesn’t know how to create REST APIs with Laravel. So, there is no complex or advanced stuff…
Read more