Can I send a string in the body of post request using native http?


I want to send data to the InfluxDB cloud. It requires the data is string in the body . And I have to use native HTTP otherwise I have the CORS problem. I could not find a way to send string with native HTTP.

Can somebody helps?

Thanks a lot!

I see this claim a lot, but CORS is a server-side problem, and should be fixed there.