Whatever network-centric functionality you contemplate, make it work OUTSIDE of Unity first.
Networking, UnityWebRequest, WWW, Postman, curl, WebAPI, etc:
And setting up a proxy can be very helpful too, in order to compare traffic: