Sending files/pictures to MS Graph API

I’ve been trying to upload a picture on Sharepoint using the Graph API, but content need to be binary data.
The closest I could get to making it work was to set the body type to “form-data” and then set a parameter to “file”. But The Graph API expects a raw binary data, so the headers associated with the “form-data” type were in the file content, and thus made it unopenable.
Anybody did manage to upload files or pictures to sharepoint ?

Any input would be appreciated!

Thank you very much!

Many thanks !