Inline Tuning File Upload

I am using the Upload File (https://api.openai.com/v1/files) operation to upload a tuning file using a language (Salesforce Apex) that does not support streaming. So I simply want to pass the jsonl content inline in the upload call. How do I do that? What does it look like in the actual json request packet?

Thanks!