I want to upload a Webp image for category using Rest API. i did the same thing for product with reference of product image upload API (that support image with jpg or png extension) that’s provided by magento core. But i am unable to find the category image upload API (that support image with jpg or png extension) in Magento core.
For reference sharing the API that i have used for product image upload of magento core:
rest/all/V1/products/{product_sku}/media