I'm trying to execute a post request to a service in 6.2 and I keep getting a 401 (unauthorized) error.
req = WebRequest.Create(service)
req.ContentLength = jsonBytes.Length
stream = req.GetRequestStream
stream.Write(jsonBytes, 0, jsonBytes.Length)
response = req.GetResponse().GetResponseStream
result = reader.ReadToEnd
I think I must be missing sending some authentication information. But, I can't figure out what...
Can anybody help me out here?