Slide 15
Slide 15 text
alpha% http --auth XXXXXXXXX:X https://api.myintervals.com/person\?firstname=calvin
HTTP/1.1 200 OK
Content-Encoding: gzip
Content-Length: 343
Content-Type: application/json
Date: Sat, 07 Feb 2015 19:19:04 GMT
P3P: CP="OTI DSP COR CUR ADMo TAIo PSAo CONi OUR PUBi IND NAV ONL PUR PRE", policyref="/w3c/p3p.xml"
Server: Apache
Vary: Accept-Encoding
nnCoection: close
{
"code": 200,
"listcount": 1,
"person": [
{
"active": "t",
"allprojects": "t",
"client": "Six Feet Up",
"clientid": "xxxxxx",
"clientlocalid": "5",
"firstname": "Calvin",
"group": "Administrator",
"groupid": "2",
"id": "xxxxx",
"lastlogin": "2015-02-07 11:03:50",
"lastname": "Hendryx-Parker",
"localid": "4",
"notes": "",
"numlogins": "709",
"primaryaccount": "f",
"private": "f",
"restricttasks": "f",
"timezone": "America/New_York",
"timezone_offset": "Eastern Time (US & Canada)",
"tips": "f",
"title": "CTO",
"username": "calvin"
}
],
"personid": 25233,
How to not make a CRUD'y web app - Calvin Hendryx-Parker - PyTennessee 2015