6.1

HTTP Requests

Most Elm apps need to create, read, update, and delete data from a server. In this chapter, we will learn how to do just that by following the HTTP protocol. Elm provides built-in modules for interacting with an HTTP server. We’ll also learn how to decode JSON and retrieve data when the app is being initialized.