Adds a File Attachment to a Lead API
Below is the reference for add a File Attachment to a Lead API :
While attaching a file to lead object there is provision only to provide file name and lead id parameter. There is no provision to provide the path from where the file is to be uploaded.
Can you please explain how to upload a file attachment via Rest API?