Skip to content

Commit 206a463

Browse files
Merge pull request #448 from simonhyslop/gh-pages
Update Github API URL
2 parents a3b22d4 + 8c909ee commit 206a463

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

js/lesson4/tutorial.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ By the end of this tutorial you will have built:
2727

2828
Every time the browser fetches data from a server (which could be a page, an image, a script etc) it does it using HTTP. HTTP is the **H**&#x200b;yper<strong>T</strong>ext **T**&#x200b;ransport **P**&#x200b;rotocol. The server then sends back a **response**. An API is an easy way of fetching information from a remote service, in a way that's easy for a computer to understand.
2929

30-
GitHub offers a [simple API](https://status.github.com/api) for viewing its current and historical server availability.
30+
GitHub offers a [simple API](https://www.githubstatus.com/api/) for viewing its current and historical server availability.
3131

3232
> Availability means whether or not the GitHub website was accessible to users and accepting traffic. If your website is down, it is not available.
3333
3434
You can access an API in your web browser. Just pop the following into the address bar:
3535

36-
https://status.github.com/api.json
36+
https://www.githubstatus.com/api/v2/summary.json
3737

3838
If you are on a mac or a linux/unix machine, you can access the API using curl:
3939

40-
curl https://status.github.com/api.json
40+
curl https://www.githubstatus.com/api/v2/summary.json
4141

4242
> Paste the following command into Terminal, which you can find in Finder - first go into the Applications folder, then Utilities.
4343

0 commit comments

Comments
 (0)