I'm trying to use this Nuget in a .Net Standard project.
This is my code
// Configure API key authorization: Token
Configuration.Default.AddApiKey("Authorization", "MYTOKEN");
Configuration.Default.AddApiKeyPrefix("Authorization", "Token");
// Configure API key authorization: Base Path
Configuration.Default.BasePath = "https://cedec-api.signrequest.com/api/v1";
var apiInstance = new DocumentsApi();
var data = new Document
{
FileFromUrl = "https://docs.google.com/document/d/1oI2R1SxfMNZXiz3jCQvorpoklF9xq_dCJnOpkI-zo80/edit?usp=sharing"
};
try
{
Document result = apiInstance.DocumentsCreate(data);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling DocumentsApi.DocumentsCreate: " + e.Message);
}
Almost the same that you have in your example, but I'm receiving an error.
Error calling DocumentsCreate: Operation is not supported on this platform.
What I'm doing wrong?
BTW, I'm using a sandbox
Thank you
I'm trying to use this Nuget in a .Net Standard project.
This is my code
Almost the same that you have in your example, but I'm receiving an error.
Error calling DocumentsCreate: Operation is not supported on this platform.What I'm doing wrong?
BTW, I'm using a sandbox
Thank you