Re: Upload image on json

2020-01-13 Thread nsamba taufeeq
to -F flag or option. If you are using a browser look into the formData object and the FileApi. to receive the uploaded image use request.FILES as in the stack overflow link above On Sat, 4 Jan 2020, 20:05 Yery cs, wrote: > I am going to upload image on json. > > e.g P

Re: Upload image on json

2020-01-11 Thread sathri mamatha
Hi, Iam trying to learn API in Django, Kindly,Help me. -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsubscr...@googlegroups

Re: Upload image on json

2020-01-05 Thread Carl Nobile
AAAECBAgUCAi8BYiWIECAAAECBAgQ6Csg8PadjcoIECBAgAABAgQKBATeAkRLECBAgAABAgQI9BUQePvORmUECBAgQIAAAQIFAgJvAaIlCBAgQIAAAQIE+goIvH1nozICBAgQIECAAIECAYG3ANESBAgQIECAAAECfQUE3r6zURkBAgQIECBAgECBgMBbgGgJAgQIECBAgACBvgL/AUvLCtjq5XCXAElFTkSuQmCC" >>>>>> } >>>>>

Re: Upload image on json

2020-01-05 Thread Yery cs
} >>>>> } >>>>> >>>>> You can take this long text and paste it in the browser's address bar >>>>> and you will see the picture. >>>>> >>>>> Note that it starts with: *data:image/png;base64,* >>>

Re: Upload image on json

2020-01-05 Thread Elico
JAgQIECBAgACBvgL/AUvLCtjq5XCXAElFTkSuQmCC" >>>> } >>>> } >>>> >>>> You can take this long text and paste it in the browser's address bar >>>> and you will see the picture. >>>> >>>&g

Re: Upload image on json

2020-01-05 Thread Yery cs
E+goIvH1nozICBAgQIECAAIECAYG3ANESBAgQIECAAAECfQUE3r6zURkBAgQIECBAgECBgMBbgGgJAgQIECBAgACBvgL/AUvLCtjq5XCXAElFTkSuQmCC" >>> } >>> } >>> >>> You can take this long text and paste it in the browser's address bar >>> and you will see the

Re: Upload image on json

2020-01-05 Thread Elico
gt;> } >> >> You can take this long text and paste it in the browser's address bar and >> you will see the picture. >> >> Note that it starts with: *data:image/png;base64,* >> >> You just have to find a way for your client to transform the image

Re: Upload image on json

2020-01-04 Thread Yery cs
CBgMBbgGgJAgQIECBAgACBvgL/AUvLCtjq5XCXAElFTkSuQmCC" >> } >> } >> >> You can take this long text and paste it in the browser's address bar and >> you will see the picture. >> >> Note that it starts with: *data:image/png;base64,* >>

Re: Upload image on json

2020-01-04 Thread Yery cs
ata:image/png;base64,* > > You just have to find a way for your client to transform the image into a > base64. > > Eli > > On Sat, Jan 4, 2020 at 6:05 PM Yery cs wrote: > >> I am going to upload image on json. >> >> e.g Postman request. >> >>

Re: Upload image on json

2020-01-04 Thread Elico
take this long text and paste it in the browser's address bar and you will see the picture. Note that it starts with: *data:image/png;base64,* You just have to find a way for your client to transform the image into a base64. Eli On Sat, Jan 4, 2020 at 6:05 PM Yery cs wrote: > I am

Upload image on json

2020-01-04 Thread Yery cs
I am going to upload image on json. e.g Postman request. { "username": "is690002", "password": "is690002", "first_name": "andres ", "last_name": "Barragan", "email": "t