I am in the process of changing one of our API calls
The current call is in the format
[url]/[user]/[itemid]
The new call is in the format:
[url]
{
 "user": ["user"],
 "category": ["category"],
 "itemIds": ["itemid1"], ["itemid2"]
}
In C# I currently build up the request as follows:
        string requestUrl = string.Format(_url, _userID, _itemID);
        HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(requestUrl);
        string password = GetSignatureHash();
        request.Method = "GET";
        request.ContentType = "application/json";
        request.Accept = "application/json";
        request.Headers["Authorization"] = "Basic " + password;
        HttpWebResponse response = (HttpWebResponse)request.GetResponse();
Please can someone advise me on how to populate the new HTTP Request with the detail given above?
Any assistance, advice or links would be greatly appreciated.
 
    