http

CRUD Operations in K6 | Tech

Reading Time: 2 minutes Hi Readers, In this blog, I am going to explore, HTTP methods in K6. Basically, HTTP methods are also called HTTP verbs and CRUD operations because it is a set of requests which perform the desired actions like get, put, post, delete and so on. CRUD stands for Create, Read, Update and Delete. These are four primitive database operations that map well to the HTTP Continue Reading

jenkins logo

Trigger Jenkins Parameterised Job Via HTTP Request

Reading Time: 4 minutes Hi Folks! In this blog we will see how we can easily trigger Jenkins Parameterised job Via HTTP request. Jenkins is one of the oldest & most popular CI (Continuous Integration) tools, and many teams still configure and run their daily and ad-hoc build jobs with Jenkins. Why do we need to trigger a job remotely? Many times we want to trigger the build from Continue Reading

Enabling CORS in Node.js

Reading Time: 2 minutes In the last blog, we’ve learnt the basic about the CORS, how we can setup and how it works. Now ini this blog, we’re going to learn how we can enable the it in node.js CORS is a browser security feature that restricts cross-origin HTTP requests with other servers and specifies which domains access your resources. Let’s say accessing images, videos, iframes, or scripts from Continue Reading

Http/2 Client in Java9

Reading Time: 3 minutes Hypertext Transfer Protocol (HTTP) is an application protocol that is, basically used as a request/response mechanism for data transformation. HTTP is based on the Client/Server model. Client/Server model can be explained as two computers, Client (receiver of service) and Server (provider of service) that are communicating via requests and responses. Talking about earlier HTTP which is currently, the foundation of data communication for the World Wide Web. WWW Continue Reading

NGINX – Redirecting HTTP to HTTPS

Reading Time: < 1 minute Using HTTPS is highly recommended and I cannot stop when explaining the benefits of using it! Also something which is more important is to make sure when HTTPS is setup it is ensured that all traffic via HTTP is blocked in a way that it is redirected to HTTPS. This can be easily achieved by giving NGINX the following set of instructions in the virtual Continue Reading

Routing DSL in Akka HTTP

Reading Time: 3 minutes In this blog we’ll be discussing about the Routing DSl provided by Akka HTTP High level Server Side API. Akka HTTP provides a very flexible “Routing DSL” for elegantly defining RESTful web services. It picks up where the low-level API leaves off and offers much of the higher level functionality of typical web servers or frameworks, like deconstruction of URIs, content negotiation or static content serving. Continue Reading

Say Hello to “Akka-Http”

Reading Time: 3 minutes Hello folks, Hope you are enjoying your coding days!!! in this blog, I will explain a cool technology named Akka-Http which i have recently explored in my coding days!! Introduction The Akka HTTP implements a full server- and client-side HTTP stack on top of akka-actor and akka-stream. It’s not a web-framework but rather a more general toolkit for providing and consuming HTTP-based services. Akka.Http comes with 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

Scala-IOT : What is Mqtt ? How it is lightweight ?

Reading Time: 4 minutes We have already stepped in the world of IOT ! And if you do find it fascinating then stay tuned to this series , or you can signup for our newsletter so you can directly get a message in your inbox whenever it is published ! So we established our basic understanding in our last blog post of what is IOT and how it is Continue Reading