Introduction In this tutorial I will show you how to call or consume external REST APIs in CodeIgniter 4 framework. REST is an acronym that stands for Representational State Transfer. I had shown how to build REST API CRUD Example earlier but here I am going to show an example on CodeIgniter 4 consume REST…

Posted in Codeigniter REST

CodeIgniter 4 Consume External REST APIs

Introduction In this tutorial I am going to explain you how to use docker compose to dockerize your Nodejs MySQL REST API for CRUD operations. I am not going to tell you here how to build the REST CRUD application but you can always go back and check the detail tutorial on this here. I…

Posted in Docker MySQL NodeJS REST

Docker Compose – Dockerizing Nodejs MySQL REST API CRUD Example

Here in this tutorial I am going to show you how to use Swagger API with Django REST framework. Swagger API provides well structured documentation for REST API endpoints so a new person can say how to test a REST API without knowing its internal implementation. Essentially, Swagger does a simple but very powerful thing:…

Posted in Django Swagger

How to use Swagger with Python based Django REST APIs

Here we are going to discuss about whether it is a good idea to send parameter in request body of the HTTP GET request or not. We will also discuss about idempotent and safe methods. When you are doing a GET request on entity, you are actually requesting the content of the entity. If you…

Posted in REST

REST API – HTTP GET with Request Body

Introduction In this tutorial I will show you how to test REST APIs used for file upload and file download. The file upload or download application might have been created using any server side technology. I am going to use here Rest Assured library with Junit 5 framework in Java programming language. I will use…

Posted in File Download File Upload REST Rest Assured

File Upload and File Download REST APIs Testing using Rest Assured in Java

Introduction In this example we will see how to perform CRUD operations REST API testing using Rest Assured library in Java programming language. Testing and validating REST services in Java is harder than in dynamic languages such as Ruby and Groovy. REST Assured brings the simplicity of using these languages into the Java domain. This…

Posted in REST Rest Assured

How to perform CRUD operations REST API testing using Rest Assured in Java

Introduction This tutorial will show you an example on how to document REST APIs using OpenAPI 3. When creating a REST API, good documentation is instrumental. Here we will use OpenAPI 3 in Spring application for creating documentation for REST APIs. We create and deploy REST services but we do not have an option to…

Posted in REST Spring Boot Spring REST Swagger

Documenting REST APIs with OpenAPI 3

Introduction Here in this tutorial, PHP REST API authentication using JWT, you will see how to use JWT (JSON Web Token) to authorize users and allow them to continue their works once they are logged in using their regular credentials (usernames and passwords). Users use their credentials to get the JWTs and continue their work…

Posted in PHP REST

PHP REST API Authentication Using JWT

Introduction In this example we will see an example on PHP AJAX jQuery CRUD. CRUD is an acronym for four operations such as Create, Read, Update and Delete. We are going to perform CRUD operations on company details. We will use here MySQL database to store company detail information. We will perform each operation asynchronously…

Posted in AJAX jQuery PHP REST

PHP REST API AJAX jQuery CRUD Example

Introduction We will create REST APIs to allow users login and logout from an application using Python and Flask. We have seen in another tutorial how to login and logout from an application where UI or front end was built using flask template file but here we are not providing any UI or front end…

Posted in Flask Python REST

Python Flask REST API Login Logout Example

Introduction This example is about to upload multiple files using Python Flask REST API. We have also seen how to upload single file using Python Flask REST API. We may need to upload single or multiple files according to application’s requirements and here we are going to create an example on Python Flask REST API…

Posted in File Upload Flask Python REST

Python Flask REST API Multiple Files Upload

Introduction I will create here Python Flask REST API file upload example though you might have seen how to upload file using Python Flask in web application. You may need to upload a single file or multiple files into your application for a reason and here I am going to use light-weight web based Python…

Posted in File Upload Flask Python REST

Python Flask REST API File Upload Example