Create Directorypost https://example.com/api/dir/{path}JavaScript$.post('/dir/dir/', { dir: { name: 'foo' } });