Nezir Zahirovic
Nezir Zahirovic

Making Http GET Requests with Deno

In this post you will learn how to make HTTP GET requests with Deno. We’ll create a simple API with deno that can be accessed via HTTP GET events to retrieve some data!Deno is a new JavaScript and TypeScript runtime created by the creator of Node.Js. This post isn’t going to breakdown the background of deno, but I recommend checking out their v1 release blog for more details.Let me introduce the http std lib, provided by the deno framework to build a simple HTTP server. We’re going to use this to setup our server to listen on port :8000 and accept GET requests - to return some data to the client!We’re going to have one endpoint to retrieve a list of users: /api/user.


Making Http GET Requests with Deno #javascriptba #javascript #nodejs #reactjs #angularjs #vuejs #meteorjs #typescript #jquery #emberjs #denojs #bosnia