'Cannot send request with FormData using Awesome Cordova plugins HTTP (Capacitor)

I just tried to send a photo to the API in my Ionic V6 (Angular, Capacitor) project but the problem is that the request didn't sent to the API and there is no problem appearing in the console or in the android studio debugging terminal. And when I tried to send the data in JSON Format the app worked as expected. Can someone help me please cause I need to fix this issue?

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source