I am getting error while uploading WebP images to wordpress via API

The problem is resolved by using content-type as “image/png” in addtion the content-disposition

This was suggested in OpenAI - How to upload multiple images to WordPress after compressing them - #9 by martinhache, Thanks anyway this can be closed