Skip to content

Commit

Permalink
Update reading/apis.livemd
Browse files Browse the repository at this point in the history
Co-authored-by: phaleth <29838606+phaleth@users.noreply.github.com>
  • Loading branch information
BrooklinJazz and phaleth authored Aug 1, 2023
1 parent 8c9659d commit 8cd6b75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reading/apis.livemd
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ You can make a simple cURL request by typing the following in your command line.
curl https://www.example.com
```

It's important to understand cURL because most APIs include documentation using cURL request examples and we can use these simple curl requests to test an API or know how to send a request in our chosen Elixir API Client.
It's important to understand cURL because most APIs include documentation using examples of cURL requests. We can use these simple cURL requests to test an API or know how to send a request using our chosen Elixir API Client.

Here, we use the [System](https://hexdocs.pm/elixir/System.html) module to simulate running a curl request from your command line and print the response for the sake of example. Notice it returns the HTML document of https://www.example.com.

Expand Down

0 comments on commit 8cd6b75

Please sign in to comment.