diff options
author | Arun Agrawal <arunagw@gmail.com> | 2017-08-19 07:59:40 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-19 07:59:40 +0530 |
commit | 250e1bd619c53da13b958bc04a97184930173c04 (patch) | |
tree | 944a248ddb29898a5fc7ae676a8f76253afc0377 /guides/source/api_app.md | |
parent | 99c604f1f9de2f2a6fc3d0aec4f274cb05b48c69 (diff) | |
parent | 948c2c48df04e775e5b5a3da5f54e0d61299dc54 (diff) | |
download | rails-250e1bd619c53da13b958bc04a97184930173c04.tar.gz rails-250e1bd619c53da13b958bc04a97184930173c04.tar.bz2 rails-250e1bd619c53da13b958bc04a97184930173c04.zip |
Merge pull request #30317 from yhirano55/use_ssl_in_guide_and_comment
Use https in guide and comment [ci skip]
Diffstat (limited to 'guides/source/api_app.md')
-rw-r--r-- | guides/source/api_app.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/api_app.md b/guides/source/api_app.md index 64200ec242..5ec79de8a0 100644 --- a/guides/source/api_app.md +++ b/guides/source/api_app.md @@ -18,7 +18,7 @@ What is an API Application? Traditionally, when people said that they used Rails as an "API", they meant providing a programmatically accessible API alongside their web application. -For example, GitHub provides [an API](http://developer.github.com) that you +For example, GitHub provides [an API](https://developer.github.com) that you can use from your own custom clients. With the advent of client-side frameworks, more developers are using Rails to @@ -94,7 +94,7 @@ Handled at the Action Pack layer: means not having to spend time thinking about how to model your API in terms of HTTP. - URL Generation: The flip side of routing is URL generation. A good API based - on HTTP includes URLs (see [the GitHub Gist API](http://developer.github.com/v3/gists/) + on HTTP includes URLs (see [the GitHub Gist API](https://developer.github.com/v3/gists/) for an example). - Header and Redirection Responses: `head :no_content` and `redirect_to user_url(current_user)` come in handy. Sure, you could manually |