Posted in Spring Boot Spring REST

Spring Boot REST API MultiValueMap Example

MultiValueMap In this example I am going to show you how to use Spring’s MultiValueMap in REST API. This MultiValueMap is similar to the Jersey’s MultivaluedMap. A MultiValueMap<K, V> or MultivaluedMap<K, V> is a map of key-values pairs. Each key can have zero or more values, where K – the type of keys maintained by this map and V – the type of mapped values. This…

Continue Reading... Spring Boot REST API MultiValueMap Example
Posted in Spring Boot Spring REST

Spring RestTemplate With Auth Token, Proxy and Timeout

Introduction Here I am going to tell you how to use proxy server and timeout with Spring Boot RestTemplate API. If you are running your application behind a proxy server then you need to connect to REST API through proxy server and without proxy server connection you may face connection timeout error or other errors. Remember if you are behind the proxy…

Continue Reading... Spring RestTemplate With Auth Token, Proxy and Timeout
Posted in PHP REST

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…

Continue Reading... PHP Consume External REST APIs
Posted in Codeigniter REST

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….

Continue Reading... CodeIgniter 4 Consume External REST APIs
Posted in MySQL NodeJS

NodeJS Express MySQL REST API CRUD Example

NodeJS CRUD App Here I am going to show you how to create REST API CRUD example using Nodejs Express and MySQL server. CRUD means Create, Read, Update and Delete operations which are performed through REST (Representational State Transfer) resources that works on http/https protocol. REST resources or APIs work on verbs, such as, GET, POST, PUT, DELETE, etc. So…

Continue Reading... NodeJS Express MySQL REST API CRUD Example
Posted in REST

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…

Continue Reading... REST API – HTTP GET with Request Body
Posted in Codeigniter REST

Working With RESTful Services in Codeigniter 3 – PUT Example

Introduction In the tutorial, working with restful services in codeigniter – put example, I am going to show you how you can work with RESTful or REST webservice in Codeigniter framework. The HTTP PUT method is used to update the existing record in server side. Related Posts: Working with RESTful services in Codeigniter – POST example Codeigniter GET example with…

Continue Reading... Working With RESTful Services in Codeigniter 3 – PUT Example
Posted in Codeigniter REST

Setup RESTful Service With Codeigniter 3

Introduction This tutorial will show you how to setup RESTful service with CodeIgniter so that we can create and deploy REST services with CodeIgniter applications. Codeigniter Rest Server is a fully RESTful server implementation for CodeIgniter using one library, one config file and one controller.

Continue Reading... Setup RESTful Service With Codeigniter 3
Posted in File Upload REST

Upload file using REST webservice

In this tutorial I am going to show you how we can upload file using REST or RESTful web service. The most important concept in REST is resources, which are identified by global IDs — typically using URIs. Client applications use HTTP methods (GET/ POST/ PUT/ DELETE) to manipulate the resource or collection of resources. A RESTful Web service is…

Continue Reading... Upload file using REST webservice
Posted in File Download REST

Download file using REST webservice

In this tutorial I am going to show you how we can download file using REST or RESTful web service. The most important concept in REST is resources, which are identified by global IDs — typically using URIs. Client applications use HTTP methods (GET/ POST/ PUT/ DELETE) to manipulate the resource or collection of resources. A RESTful Web service is…

Continue Reading... Download file using REST webservice