Skip to content

call POST API function passing binary data #63

@ccfrusano

Description

@ccfrusano

Hello,
I'm trying to implement the TinyPNG API, to compress images: https://tinypng.com/developers/reference

I haves images in my system which I'd like to be compressed, and I should work directly with the binary information of the image:
image

My question is: How can I work with binary data? I only see the option to pass the body as a JSON, which would not fit for this purpose.

Thanks in advanced,
Carlos

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions