Skip to content
0:00 / 0:00

#haskell#wreq#aeson

Haskell Tutorial: Calling REST APIs (HTTP requests using "wreq")

Bit Connor

114 subscribers • 1 video on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Beginner. No background in the topic needed.

3.7K views4 years ago1 recommendation

Programming languagesWeb developmentHTTP, REST and GraphQLFunctional programming

A hands-on tutorial demonstrating how to make HTTP requests and parse JSON in Haskell using the wreq and aeson libraries.

This is a hands on session where we learn how to make HTTP calls in Haskell using the "wreq" library in order to call REST APIs. The example we use is the "LibreTranslate" Translation API, which allows us to translate text to different languages. We go over JSON encoding/decoding (using the "aeson" library), and at the end do a little bit of concurrency. This video is suitable for beginner and intermediate level Haskell developers. I try to explain everything that is done as simply as possible.

Why it's here

1 person recommends this

What people say. Recommended as a practical, beginner-friendly guide to making HTTP calls and handling JSON in Haskell.

u/argosopentechin r/haskell • Recommends

Haskell Tutorial: Using LibreTranslate REST API from Haskell - General