def post_object(params, type_name, path=''):
    """
        Post or create an object with the name given in path of type.
        An 'id' must be given to create an object. The id can either be given
        via params or an extention of path (e.g. {'id': 'newid'} or
        /folder/subfolder/newid).
        The params keys can be made available via a call to get_schema(type="the type").
        The type_name parameter is a valid type that can be verified with the
        get_types method."""
