'Create a credit request for the given user and course.'

def post_credit_request(self, username, course_id):

    data = {u'username': username, u'course_key': unicode(course_id)}
    return self.client.post(self.path, json.dumps(data), content_type=JSON)
