v
Size: a a a
v
v4
AO
YM
pathMatch: 'full'
к роутамv4
v4
v
С
SK
С
E
IF
IF
E
AS
V
public uploadImage(image: File): Observable<any> {На беке не видит файлов вообще, стоит Symfony
const formData = new FormData();
formData.append('image', image);
return this.http.post(`${environment.apiUrl}/api/users/avatar`, formData);
}
V
$http.post(url, formData, { transformRequest: angular.identity, headers: { 'Content-Type': undefined } })
أИ
G
V