Upload a document using REST API

Hi everyone, I'm very new into this CRM but the idea I've been tasked with is to upload a document using a RestAPI, could anyone please guide me into this?