mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
54472: Working post request with form-data (contains test code)
This commit is contained in:
@@ -14,6 +14,7 @@ import { map } from 'rxjs/operators';
|
||||
import { RemoteData } from '../../core/data/remote-data';
|
||||
import { isNotEmpty } from '../../shared/empty.util';
|
||||
import { DSpaceObject } from '../../core/shared/dspace-object.model';
|
||||
import { HttpEvent } from '@angular/common/http';
|
||||
|
||||
@Component({
|
||||
selector: 'ds-create-collection',
|
||||
@@ -55,6 +56,9 @@ export class CreateCollectionPageComponent {
|
||||
this.router.navigateByUrl('');
|
||||
}
|
||||
});
|
||||
// this.collectionDataService.createSimple(collection).subscribe((httpEvent: HttpEvent<{}>) => {
|
||||
// console.log(httpEvent);
|
||||
// });
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user