Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Flask-Restful.MD #82

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
6 changes: 3 additions & 3 deletions Week08/Flask-Restful.MD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
###Introduction
Flask restful is an extension for Flask that adds support for quickly building a REST API's.
The Flask Restful Framwork is lightweight and works with exixsting libraries and encorages
The Flask Restful Framework is lightweight and works with existing libraries and encourages
best practices with minimal setup.

###Installation
Expand Down Expand Up @@ -41,7 +41,7 @@ if __name__ == '__main__':
```

###Trying it out
Trying out the API for the first time can be done with curl should return the name JohhnyRotten as shown below.
Trying out the API for the first time can be done with curl should return the name JohnyRotten as shown below.
```
$ curl http://127.0.0.1:5000/api/name
{"name": "JohnnyRotten"}
Expand All @@ -67,7 +67,7 @@ app.run(threaded=True)
```

###Deployment
When the server is ready to be deployed to production it is nessesary to wrap it into apache by using the mod_wgsi.
When the server is ready to be deployed to production it is necessary to wrap it into apache by using the mod_wgsi.
Instructions for using flask under Apache can be found at:
[http://flask.pocoo.org/docs/0.10/deploying/mod_wsgi/](http://flask.pocoo.org/docs/0.10/deploying/mod_wsgi/)

Expand Down