How to send a base64 image in postman

You could find online base64 image encoder. They encode an image to a string.

The example of raw body in JSON format in the POSTMAN:

"profile": {
    "first_name": "John",
    "last_name": "Dow",
    "photo": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEUAAACnej3aAAAAAXRSTlMAQObYZgAAAApJREFUCNdjYAAAAAIAAeIhvDMAAAAASUVORK5CYII="
}

I think, that “name” and “content_type” is obvious in your JSON.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)