Skip to content

Commit

Permalink
Fixed httpie url as HTTPS link doesn't work.
Browse files Browse the repository at this point in the history
  • Loading branch information
clementallen authored Jun 10, 2016
1 parent 61f9a8a commit e98a735
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions swapi/templates/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ Welcome to the swapi, the Star Wars API! This documentation should help you fami

Let's make our first API request to the Star Wars API!

Open up a terminal and use [curl](http://curl.haxx.se) or [httpie](https://httpie.org) to make an API request for a resource. In the example below, we're trying to get the first planet, Tatooine:
Open up a terminal and use [curl](http://curl.haxx.se) or [httpie](http://httpie.org) to make an API request for a resource. In the example below, we're trying to get the first planet, Tatooine:

http swapi.co/api/planets/1/

We'll use [httpie](https://httpie.org) for our examples as it displays responses nicely and gives us a whole lot more useful information. If you don't want to download httpie, just use the *curl* command instead.
We'll use [httpie](http://httpie.org) for our examples as it displays responses nicely and gives us a whole lot more useful information. If you don't want to download httpie, just use the *curl* command instead.

Here is the response we get:

Expand Down

0 comments on commit e98a735

Please sign in to comment.