Server Script API Type method to receive file input in POST Request Body

Hi Frappe Community,

is there any way to create a Server Script API Type and send a POST request to it with a file in the Body Payload?

I could only find “frappe.form_dict” method but thats only valid for request parameters I suppose.

Any help would be really great :smiling_face:
Thank you :pray: