import requests

payload = {'session':{'email':'david.armbrust@gmail.com','password':'Ovation1'}}

r = requests.post('http://localhost:3000/login', json=payload)

print r.status_code

import requests

payload = {'session':{'email':'david.armbrust@gmail.com','password':'Ovation1'}}

session = requests.Session()
r = session.post('http://localhost:3000/login', json=payload)

print r.status_code

payload = {'plant':{'name':'Test Name','species':'Test species','days_per_watering':'9','start_date':'9/9/1999'}}
r = session.post('http://localhost:3000/plants', json=payload)

print r.status_code

Add persistance of session across requests
Add persistance of session across requests
