concept http request in category haskell

appears as: n HTTP request, HTTP requests
Get Programming with Haskell

This is an excerpt from Manning's book Get Programming with Haskell.

One of the most common ways to get data is to make calls to a RESTful API by using an HTTP request. The simplest type of request is a GET request, in which all of the parameters you need to send to another server are encoded in the URL. In this example, the data you need for each request is as follows:

In this lesson, you’ll learn how to make an HTTP request in Haskell and save the results to a file. The data you’ll fetch is from the National Oceanic and Atmospheric Administration (NOAA) Climate Data API. This API requires you to send a custom HTTP request that uses SSL and has a custom header for authentication. You’ll use the Network.HTTP.Simple library, which will allow you to make simple requests as well as create custom HTTP requests. You’ll start by learning how to use Network.HTTP.Simple to fetch a web page from a URL. Then you’ll create a specific request for the NOAA API. In the end, you’ll have fetched JSON data from this API to be used in the next lesson.