Found a stupid detail I was missing that was breaking things. This should be good up to submitting requests.