senderAuthenticationTokens call returns error code 415 Unsupported Media Type
Wednesday, December 9, 2015 at 09:58amI can't seem to get the senderAuthenticationToken. I'm receiving a 415 error code, Unsupported Media Type. Any ideas what I'm doing wrong?
PackageId packageId = eslClient.CreatePackage(superDuperPackage);
using (var client = new WebClient())
{
byte[] response = client.UploadValues("https://sandbox.esignlive.com/api/senderAuthenticationTokens", new System.Collections.Specialized.NameValueCollection()
{
{ "Content-Type", "application/json" },
{ "Accept", "application/json" },
{ "Authorization", "Basic " + apiKey},
{ "packageId", packageId.Id}
});
string result = System.Text.Encoding.UTF8.GetString(response);
}
Reply to: senderAuthenticationTokens call returns error code 415 Unsupported Media Type
Wednesday, December 9, 2015 at 12:00pmReply to: senderAuthenticationTokens call returns error code 415 Unsupported Media Type
Wednesday, December 9, 2015 at 06:22pm