Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ A great tool for testing to see if you are making requests correctly is to use:

A great list of public API's can be found here: https://github.com/toddmotto/public-apis

Especially in web development, the ideal way to make a RESTful API request is to d it from the backend using something other than JavaScript. The reason for this is you can't always make a request from the browser because CORS headers are required. Better to use a backend technology such as shell, Python, Ruby, or something else.
Especially in web development, the ideal way to make a RESTful API request is to do it from the backend using something other than JavaScript. The reason for this is you can't always make a request from the browser because CORS headers are required. Better to use a backend technology such as shell, Python, Ruby, or something else.

## Basic GET API Clients
The GET method is probably the easiest HTTP method to work with. The following will use the ipify API that simply gives you back your public IP address. Later on we will use some different and unique API's to experiment with.
Expand All @@ -37,7 +37,7 @@ curl -X GET -H "Content-Type: application/json" https://ghibliapi.herokuapp.com/
If for some reason `curl` is not installed, you can perform `apt-get install curl` to download and install it.

### Python
You can make API request sin Python using the `requests` module.
You can make API requests in Python using the `requests` module.
```
from requests import get

Expand Down