Apinizer’s Allowed Hours Policy

Using Apinizer’s allowed hours policy, you are able to limit the hours a certain client can send access your API. This can be useful if you want your API to be accessible only during certain hours of the day (e.g when banks are open). To follow this tutorial, you should already have Apinizer installed and…

Details

Apinizer’s Quota Per Client Policy

Using Apinizer’s quota per client policy, you are able to limit the amount of requests a certain client can send in a certain time window. This can be useful for traffic management, spam protection, or for keeping track of users in a subscription-based API. To follow this tutorial, you should already have Apinizer installed and…

Details

Jackson Tutorial

Jackson is a very popular java library for working with the JSON format. Be it object serialization/deserialization or just parsing through JSON data. At the end of this tutorial, you’ll end up with this json file by writing nothing but Java. employee.json: { “id”: 305, “name”: “John”, “surname”: “Smith”, “email”: “[email protected]”, “address”: { “id”: 322,…

Details

Building a RESTful Service with Java

Continuing the previous article about RESTful services, this guide will walk you through building an example RESTful service in Java using spring boot and maven. The service will be able to respond to HTTP GET requests with JSON data, and use query parameters when building its response. You should start by creating a maven project…

Details

What’s a REST API?

To understand what a REST API is, we must first understand what a web service is in general. Web Services Web services are structures that allow methods used by applications to be run on servers and exchange values over the web. This way we can write methods that can be used in different applications or…

Details

Cross-Origin Resource Sharing (CORS)

What is CORS? Cross-Origin Resource Sharing (CORS) is a mechanism that uses additional HTTP headers to tell a browser to let a web application running at one origin (domain) have permission to access selected resources from a server at a different origin. A web application makes a cross-origin HTTP request when it requests a resource…

Details