API

RESTful API Tutorial: How to Upload Files to a Server

File Upload is an application that helps us upload files to the server. With File Upload, it is possible to upload files of the type allowed by the system, such as pictures, excel, pdf, to applications. File Upload control, on the other hand, enables us to perform file upload operations within the criteria we specify within our application. For example, we can load an excel file, read and list the…
Read more
API

Best Practices For Your API Versioning Strategy

While developing the API, there is one reality that we should keep in mind, which is the principle of ‘Change is Inevitable’. Although we are carrying out business-oriented work during the development process, we may need to add more responsibilities to the API…
API

Best Practices for REST API Error Handling

It is highly desirable in APIs to properly handle errors and provide meaningful error messages, as it can help the API client respond to issues correctly. The default behavior tends to return stack traces that are hard to understand and ultimately useless for the API client. Splitting error information into fields also allows the API client to parse it and provide better error messages to the…
Read more
API

Building a REST API with Node and Express

Imagine you already have a working site. Let’s say your site starts to become more popular over time. If you build your site without thinking it will be popular later on, you will start to respond more slowly to requests. Active users will wait for you to reply to the…
API

HTTP Status Codes for REST API

Worse than encountering an error is encountering an “unspecified” error. If you don’t want your REST API to give users a hard time, explain the errors and their reasons clearly. Do not forget to use HTTP status codes while doing this. Standard HTTP status codes will suffice for a general description of almost any error. HTTP status codes (HTTP response codes) are the codes…
Read more
API

Basics of API Testing Using Postman

API is the interface that enables the application’s functions to be accessed and used externally or remotely. We can also say that an API is a software tool that allows two applications to communicate with each other. API allows any server to return a response and…
API

How to Get Started with GraphQL and Node.js

Today, most of the applications that serve the open world such as the Web and mobile use web services. A web service written on the backend of applications simultaneously supports the application’s frontend, mobile applications, and even IoT devices if any. This…
API

Best practices for REST API security

Rest APIs are frequently preferred in today’s web technologies. As such, Rest API security means protecting the integrity of both the APIs you own and use. The Internet is a network where information exchange takes place very quickly and access to information is very easy. According to the Digital 2021: Global Overview Report, published by Datareportal in partnership with We Are Social and…
Read more