How to upload image through program

Hi everyone,

I’m able to upload image by converting it to base64 through call rest api from python program, but in website image preview is showing empty.

When i upload same from postman it is working fine, can anyone please help on this, i’m struggling with issue from past 10 days

Frappe Framework: v14.0.0-dev
Database is Postgres db

Thanks in advance