What is missing or inaccurate about the content on this page?
I only found the issue at Android platform. The API server does not receive JSON data if you try to request it without explicity send header Content-Typeapplication/json.
I have read the Java base code and it actually skips the process of writing data if you try to request data without Content-Type header.
If you want to send data JSON with Android platform, you need to add header Content-Type with application/json like this.
URL Capacitor Official Plugins HTTP
What is missing or inaccurate about the content on this page? I only found the issue at Android platform. The API server does not receive JSON data if you try to request it without explicity send header
Content-Type
application/json
.I have read the Java base code and it actually skips the process of writing data if you try to request data without
Content-Type
header.If you want to send data JSON with Android platform, you need to add header
Content-Type
withapplication/json
like this.For other type of data, if I had time, I would try one by one.