Category: REST
REST – Representational State Transfer
PHP REST API Multiple Files Upload
REST API Multiple Files Upload In this tutorial I am going to show you an example how to upload multiple files using REST (Representational State Transfer) API. I will also create a client program to upload multiple files through REST API. I am not using any Postman or SOAP UI tool to test the file upload functionality, so I am…
PHP REST API Single File Upload
REST API File Upload I am going to show you how to upload single file using REST API in PHP language. The full form of REST is Representational State Transfer. I will use POST method to upload the file. The REST API will get the file content from the client and will store the file content to a specified destination….
HttpsUrlConnection REST API Call – Auth Token And Proxy Server
Introduction In this example I am going to show you how to call REST APIs using javax.net.ssl.HttpsURLConnection. So, I am using plain Java code to send or receive data to or from the REST APIs. I am also going to show you how to send authentication token in the HTTP header. I am also going to show you how to use…
PHP Consume External REST APIs
Introduction In this PHP example, I am going to show you how to call external REST APIs in PHP programming. I am not going to build here any new REST API, but I will call or consume those REST APIs which are already available for testing purpose. But if you want to know then you can check my tutorial about…
CodeIgniter 4 Consume External REST APIs
CodeIgniter 4 REST API Client 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 APIs….
Docker Compose – Dockerizing Nodejs MySQL REST API CRUD Example
Dockerize NodeJs MySQL 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 am only going…
How to use Swagger with Python based Django REST APIs
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: with a bit of additional…
REST API – HTTP GET with Request Body
Here I am going to discuss about whether it is a good idea to send parameter in request body of the HTTP GET request or not. Request body is also known as payload of the request. I will also discuss about idempotent and safe http methods. Generally payload in the body is sent for POST, PUT, etc. http methods where…
File Upload and File Download REST APIs Testing using Rest Assured in Java
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 multipart for file upload test….
How to perform CRUD operations REST API 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 tutorial will show you how…