Hejka, mam taki problem mam form ze zdjeciem, i mam problem z zparsowaniem tego, najlepej zobrazują to zdjecia
this.addBookService.sendBook(this.newBook).subscribe(
res => {
this.uploadImageService.upload(JSON.parse(JSON.parse(JSON.stringify(res))));
this.bookAdded=true;
this.newBook = new Book();
this.newBook.active=true;
this.newBook.category="Management";
this.newBook.language="english";
this.newBook.format="paperback";
},
error => {
console.log(error);
}
);
}