RestApi

Introduction to APIs

Reading Time: 4 minutes The device that turns a website’s data into something a computer can understand is an API. Similar to how a person may access and modify data by loading pages and submitting forms, a machine can view and edit data through it. Making data easy to deal with is beneficial since it allows programmers to automate laborious and time-consuming operations. Through an API, a computer may Continue Reading

bank-of-america

Build Restful Web Services using Apache Camel

Reading Time: 4 minutes Introduction of Restful webservices using Apache Camel In this blog, we will expose Restful Webservices using Apache Camel. As you know, the Camel framework is based on Spring. If you’re utilizing Spring data to consume data from a Postgres database, the only business logic your team is responsible for writing a test harness for is in your implementation of the Spring framework. Your development team Continue Reading

Working with RabbitMQ and RestApi Using Apache Camel

Reading Time: 2 minutes IntroductionIn this blog, we are going to learn the basic structure and how we can handle the API call and route it to RabbitMQ.We are going to create a maven project in which we will be handling this scenario. Maven Structure of the Project: The pom.xml is as follows Create a Model class :Here I am using Lombok to avoid boilerplate code. Define the Camel Continue Reading

data codes through eyeglasses

How to Make a REST API Using API Gateway

Reading Time: 6 minutes We’ll learn how to make a REST API with API Gateway in this blog. Let’s start with a quick overview of APIs. What is an API? API stands for Application Programming Interface, and it is a software intermediary that allows two applications to communicate with one another. What is an AWS API? Amazon API Gateway is a fully managed service that makes it easy for Continue Reading

Kafka connect with Cassandra Source Connector

Reading Time: 2 minutes In this blog we will learn how to read data from cassandra source connector and write it to the kafka topic. Cassandra source connector is used to read the data from the tables and write it into the Kafka topic in JSON format. PREREQUISITES Installation of Apache Cassandra Installation of Kafka and Kafka connect CONFIGURING CASSANDRA CONNECTOR The connectors are configured using Kafka Connect Query Language Continue Reading

Apache Camel: How to Expose Rest API

Reading Time: 3 minutes The Apache Camel DSL is a language that allows to configure the behaviour of the Camel Routing Engine. Apache Camel: Expose Rest API we have To use the Rest DSL in Java DSL then just do as with regular Camel routes by extending the RouteBuilder and define the routes in the configure method. A simple REST service can be defined as follows, where we use rest() to define the services as Continue Reading

HTTP Requests Using Axios Library

How to make HTTP Requests Using Axios Library

Reading Time: 3 minutes Introduction Axios is a Javascript library used to perform HTTP requests for Nodejs and browsers. It supports the Promise API and makes it easy to send requests asynchronously. In this article, we will learn, how to make GET/POST/PUT/DELETE HTTP requests using Axios. Features Make HTTP requests from node.js Supports the Promise API Intercept request and response Transform request and response data Cancel requests Automatic transforms Continue Reading

Understanding schema in GraphQL

Reading Time: 3 minutes GraphQL schema is the centre of any GraphQL server. It allow clients to know about which operations can be performed by the server.

Knime: Accessing a REST API with dynamic query param

Reading Time: 3 minutes Nowadays Rest API is the most widely used way to share data, In which many API returns a subset of complete data in form of page. Sometimes we need to append multiple query param in the URL to get some specific and filtered data. In this blog, we will learn how to generate dynamic URLs by adding query param and get data. Knime platform supports Continue Reading

REST API Testing with Cypress

Reading Time: 2 minutes Hello, everyone! Welcome to my blog section, Here we will see how to to do REST API Testing with cypress. REST API Testing with Cypress: Cypress automated everything that runs on the browser and many times we have a use case where we need to validate our UI behavior against the browser network calls, here cypress comes in the picture. So as per the cypress Continue Reading

Integrate TestNG and Json-Server with Rest-Assured

Reading Time: 6 minutes Here, we’ll discuss about how can we automate our testing of RESTful webservices using REST ASSURED and Integrate it with one of the trending framework, “TestNG“ Rest-Assured REST Assured is a Java DSL for simplifying testing of REST based services built on top of HTTP Builder. It supports POST, GET, PUT, DELETE, OPTIONS, PATCH and HEAD requests and can be used to validate and verify the response of Continue Reading

How to handle URL Encoded Form Data in Spring REST?

Reading Time: 3 minutes Sometimes, our REST endpoint needs to consume data in the form of application/x-www-form-urlencoded or using multipart/form-data. The source of this data can probably be an HTML form. Now, the first question which should come to our mind is, what is exactly this application/x-www-form-urlencoded or using multipart/form-data and how can we let our spring application consume this. This blog will help you to find answers to Continue Reading

Rejection In The Akka HTTP: Let’s handle errors scenarios more properly

Reading Time: 4 minutes Hello folks, in this blog we will see Rejection in the Akka HTTP and how it helps in handling errors scenarios in our Application. Rejection concept in Akka HTTP helps to deal with errors scenarios more properly. When a filtering directive, like the get directive. It does not allow the request to pass through its inner route . As the filter condition is not satisfy, Continue Reading