Submits a given token, along with optional data

def token_submit(self, token_id, json_data={}):
        """ Submits a given token, along with optional data """
        uri = 'tokens/%s' % token_id
        post_body = json.dumps(json_data)

        resp, body = self.post(uri, post_body)
        self.expected_success(200, resp.status)
        body = json.loads(body)
        return rest_client.ResponseBody(resp, body)