I'm trying to make a request in which I send a JSON (POST) and I get another one, I'm doing the following: I mount / feed my object and call this request:
string URLRequest = URL + customer_id + "/cards";
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(URL);
request.Headers.Add("...");
request.Method = "POST";
request.ContentType = "application/json";
request.Accept = "application/json";
My question is: how do I implement in this request the Json (or object) that I previously mounted?