CRUD stands for Create, Read, Update, Delete. These are the basic capabilities required when it comes to dealing with data in a storage system like a database. From an API perspective, the following methods areContinue reading
Tag: api
HOW TO: Create Lumen API – Basic
Learn how to build a basic API with the Lumen framework. All CRUD functionality, migrating and seeding a local sqlite db and unit testing the API.
Angular – Populate UI with data – Part 3
Angular Project Content: Part 1 – Setting up the project Part 2 – Routing & Customisation Part 3 – Populate UI with Data (this one) Populate Cards 1. Open my-dashboard.component.css and replace all the content with theContinue reading
HOW TO: Validate multiple images input in Lumen/Laravel
In this short post, I will show you how to use the Lumen/Laravel validation to validate multiple images in an array. 1. Make sure you are posting an array of images to your endpoint images[]Continue reading
How to solve – No ‘Access-Control-Allow-Origin’ header is present on the requested resource
How to solve – No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘null’ is therefore not allowed access. In this short post, I will show you how to solve the “No ‘Access-Control-Allow-Origin’” problemContinue reading