In this section, we’ll begin working with NestJS. This part of the learning series covers the following topics: Installation Creating the First Controller Creating the First Service Adding a GET Endpoint Adding a POST Endpoint For now, we will manage data using a JavaScript array. In future sections, we’ll learn how to connect to aContinueContinue reading “Learning NestJS Part 1: Getting Started”
Tag Archives: API
Reading Request Headers Across Multiple .NET Core API Controllers
I was working on creating a .NET Core-based API and came across a requirement to read a particular request header across the API controllers. To understand it better, let us say there are two API controllers, InvoiceController ProductController We need to read the value of a particular Request Header in both controllers. To do that,ContinueContinue reading “Reading Request Headers Across Multiple .NET Core API Controllers”
How to use Interceptor in Angular
Interceptors are used to intercepts HTTP requests and responses from the application. You can handle them or transform them before passing it on. For example, you can use an interceptor to add authorization token before passing the HTTP request or cache the HTTP response. Some of the usages of interceptors are as follows, Caching ofContinueContinue reading “How to use Interceptor in Angular”
Step by Step building Node.js based REST API to perform CRUD operations on MongoDB.
Download Source Code of this post from GitHub here Node.js is one of the greatest platform to create backend of the application. Does not matter whether you are creating a mobile app for iOS or Single Page Web application using Angular, you will need a backend for the application. Usually you perform databases operations, authentications,ContinueContinue reading “Step by Step building Node.js based REST API to perform CRUD operations on MongoDB.”
Uploading management certificate in Windows Azure subscription
To work with Service Management API client has to authenticate itself to the Azure portal. You need to upload X.509 certificate to the portal. There are many ways and several tools available to crate X.509 certificates. Easiest way I find is using IIS. Read here to create certificate for Azure subscription Before you go aheadContinueContinue reading “Uploading management certificate in Windows Azure subscription”