REST API Post media with URL (and not file)

I was using the REST API to upload photo on my wordpress site. For a specific condition, i need to upload file, passing a public URL (and not the file). Because i’m on a weird environement.

I have the feeling is impossible with the REST API ? Is there any other way ?