Search results for: Open API

There are multiple ways of adding App Icon in Flutter, and here I’m going to cover some of those methods. Method 1: Using flutter_launcher_icons Package The flutter_launcher_icons package takes in a source png file and generates icons for both iOS and Android. To learn more about the flutter_launcher_icons package check out this link. Below are short instructions…

Read More App Icon in Flutter. Ways to Generate and Change app Icon.

In this Flutter tutorial, you will learn how to do basic form validation in Flutter. We will go through it step by step, and you’ll learn how to use Form and TextFormField widgets in Flutter. Creating a New Flutter App First, we’ll create a new Flutter app to work with. This tutorial assumes you have…

Read More Form Validation in Flutter with a Practical Example

The below list of tutorials will help you learn how to test RESTful Web Services with the REST Assured framework. You might want to check the video tutorials page if you are interested in video tutorials. Testing RESTful Web Service API with REST Assured REST Assured HTTP Post Request ( Includes video tutorial ) REST Assured…

Read More Testing RESTful Web Services

The Oauth 2 Device Authorization Grant, also formerly known as the Device Flow, is an Oauth 2 extension that enables devices with no browser or limited input capability to obtain an access token. You might have experienced the Device flow when authorizing a PlayStation or a TV app to access your Microsoft or Google account.…

Read More OAuth 2.0 Device Authorization Grant Flow Example

By default, Spring Boot RESTful web service endpoints consume and produce JSON representations. However, it’s possible to enable consuming XML and producing it for your REST API endpoints with minimal effort. This tutorial will guide you through the process of adding XML support to your Spring Boot application, allowing consuming XML and producing representations of…

Read More Consuming XML in Spring Boot REST

HATEOAS is a way to make your RESTful Web Service endpoint, automatically include links to other Resources of your API, in the response that it sends back to a calling client application.  The client application that consumes your web service endpoint, can then use those links, to consume other RESTful Resources that your Web Service…

Read More Add HATEOAS to Spring Boot RESTful Web Service

When we take the Test Driven Development(TDD) approach to write code we eventually ask ourselves a couple of questions: Have I covered all possible use cases? Have I written enough unit tests? What helps me is writing a bulleted list of functional requirements for the feature I am developing. Having a clear list of things…

Read More Swift TDD. How Many Unit Tests to Write?

In this tutorial, you will learn how to make Zuul API Gateway pass an Authorization header to a downstream Microservice. To learn how to make Spring Boot Microservice read HTTP Request headers, please read this tutorial: Read HTTP Request Header in Spring MVC. Configure Zuul API Gateway to Forward an Authorization Header By default, Zuul…

Read More Pass Authorization Header to Downstream Microservice

In this tutorial, you will learn to create a Docker image for your Spring Cloud Config Server, which uses Symmetric or Asymmetric encryption to protect sensitive information. To learn how to create Spring Cloud Config that uses Symmetric encryption, read Spring Cloud Config – Symmetric Encryption and Decryption(Includes Video tutorial). And to learn how to create Spring…

Read More Docker Image for Spring Cloud Config Server

In this tutorial, I will share with you how you can use Feign ErrorDecoder to handle errors that occur when using Feign client in Microservices communication. For step-by-step video beginner lessons demonstrating how to do Feign error handling and how to build Microservices with Spring Boot and Spring Cloud, have a look at this page: Spring…

Read More Feign Error Handling with ErrorDecoder

In this tutorial, you will learn how to use Netflix Hystrix circuit breakers to enable your Microservices to gracefully handle situations when one of the Microservices becomes unavailable to handle a request during inter-service communication. For step-by-step beginner video lessons demonstrating how to use Hystrix Circuit Breaker and how to build Microservices in Spring Cloud,…

Read More Hystrix CircuitBreaker and Feign

In this tutorial, I will share how to use Feign Client to send HTTP Requests to another Microservice. For a step-by-step series of video lessons, please check this page: Spring Boot Microservices and Spring Cloud. Adding Feign to Your Project To use Feign Client in your Spring Boot application, add the following dependency to a…

Read More Feign Client to Call Another Microservice