The easiest way to do this will always be to “when in Rome do as the Romans do” and use UnityWebRequest.
AFAIK it can do everything you might need network-wise.
Networking, UnityWebRequest, WWW, Postman, curl, WebAPI, etc:
And setting up a proxy can be very helpful too, in order to compare traffic: