Skip to content

thuunivercity/CoinMarket

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CoinMarket

curl http://localhost:5000/todos -d "task=something new" -X POST -v

curl http://localhost:5000/todos/todo3 -d "task=something different" -X PUT -v

Look only in the POST body

parser.add_argument('name', type=int, location='form')

Look only in the querystring

parser.add_argument('PageSize', type=int, location='args')

From the request headers

parser.add_argument('User-Agent', type=str, location='headers')

From http cookies

parser.add_argument('session_id', type=str, location='cookies')

From file uploads

parser.add_argument('picture', type=werkzeug.datastructures.FileStorage, location='files')

http://www.pythondoc.com/Flask-RESTful/extending.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%