REST

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.

Is GraphQL better than REST?

Reading Time: 4 minutes In this blog, we will be going to explain a brief difference between GraphQL and REST APIs, Why GraphQL comes into the picture, and give some benefits over REST APIs. So without any further delay let us begin with an understanding of brief about GraphQL and REST APIs. GraphQL is a new API standard that provides a more efficient, powerful, and flexible alternative to REST. Continue Reading

Automate your API Test Cases Using REST-ASSURED

Reading Time: 5 minutes Here, we’ll discuss about how can we automate our testing of RESTful webservices using REST ASSURED Never used Rest-Assured before? That’s not a problem because today I’ll explain right from the scratch. As a result, that beginners can also start their journey of testing APIs using Rest-Assured Today we’ll cover following topics: What is Rest Assured? How does it works? How to create or setup Continue Reading

Automation REST ASSURED

REST Assured: A beginner’s guide for REST API testing.

Reading Time: 3 minutes Automated Rest services testing using REST Assured library. Introductory guide for REST Assured library. basic understanding of its use and requirement.

GraphQL – The Better REST

Reading Time: 5 minutes Over the past few years, the REST has become a de-facto architecture for the web services, which emphasize to communicate through the textual data. The user is given a URI of the resource and user can perform various operations (GET, POST, DELETE etc) defined on that address, as simple as that. There are several architectural points that reflect upon the ideology of the REST. These points Continue Reading

Solr With Scala: Rest End Points with AKKA HTTP

Reading Time: < 1 minute Hello Folks, Today we will discuss about Solr, Scala with Akka-HTTP. We will create rest-endpoints and try to connect with Solr server with them. The basic idea behind using Akka-HTTP for creating Rest end points is modules implement a full server and client-side HTTP stack on top of akka-actor and akka-stream. We can customize these routes according to our use case. We will talk step Continue Reading

Handling HTTPS requests with Akka-HTTPS Server

Reading Time: 2 minutes Hi guys, In my last blogs I explained how one can create a self-signed certificate and KeyStore in PKCS12. You can go through the previous blog, as we’ll be needing certificate and keystore  for handling HTTPS requests. https://blog.knoldus.com/2016/10/18/create-a-self-signed-ssl-certificate-using-openssl/ https://blog.knoldus.com/2016/10/26/how-to-create-a-keystore-in-pkcs12-format/ Akka-HTTP provides both Server-Side and Client-Side HTTPS support. In this blog I’ll be covering the Server-Side HTTPS support. Let’s start with “why do we need server-side HTTPS support?” If we want the communication between the browser and Continue Reading

Cassandra with Spark 2.0 : Building Rest API !

Reading Time: 3 minutes In this tutorial , we will be demonstrating how to make a REST service in Spark using Akka-http as a side-kick  😉  and Cassandra as the data store. We have seen the power of Spark earlier and when it is combined with Cassandra in a right way it becomes even more powerful. Earlier we have seen how to build Rest Api on Spark and Couchbase Continue Reading

Multipart/form-data submit through javascript in Play Framework

Reading Time: 2 minutes Normally when we submit any multi-part form in Play Framework that time in the controller have to mention redirection action which  refresh the whole page and it gives an extra load on the network. It is possible to submit that form with the help of Ajax. It makes easy to submit your form and help to refresh only that particular section where you want to Continue Reading

Spark with Spray Starter Kit

Reading Time: 3 minutes Over the last few months, Spark has gained a lot of momentum in Big Data world. It has won a lot competitions & surveys, like Daytona Gray Sort 100TB competition or becoming top level Apache Project and many more. Irrespective of whether it is a product which is a fast/general engine for large-scale data processing, Spark has found its use everywhere. The best part about Spark being that is it can Continue Reading