Prevent base url on image path save through API request

Since Cockpit doesn’t easily support saving image files through an api call, I thought of saving images on an external API. So i tried the following:

Post to

in the field

image: {


But cockpit saves its own base url in front of my external image url.
Is there a possibility to prevent cockpit CMS to automatically save the base-url of cockpit when accessing through an API post call, for example in a custom API call?

there is an add assets api entry point:


I never tried it before and tested it now. It works well. Make sure, to name your key files[].

Javascript example:

Postman example: