0
I’m making an app and I need to send an image to an api. But I only have the image in Base64 and I need it in jpg. Does anyone have any idea how I do it?
public sendOnePhoto(photo: any) {
const body = { file: photo, email: this.storage.getItem('access') };
const data: Observable<any> = this.http.post(`${this.API_URL}/picture/upload`, body);
return data;
}
The last reply (Point 3) was correct in my case! Thank you very much!
– Lucas Brito