maxw | 2018-04-17 00:15:37 UTC | #1
Dear Sir/Madam,
I had a project which need .pure cloud .net core library. I fork the project and found I only need update several files to let normal API calls works. I could send these update to git if you need.
Regards, Max
tim.smith | 2018-04-17 13:19:29 UTC | #2
Could you list the changes you needed to make? I'll add the info to the .NET core ticket I have already.
maxw | 2018-04-17 23:22:00 UTC | #3
- build/src/PureCloudPlatform.Client.V2/Client/ApiClient.cs
PrepareRequest method, around line 130:
==== request.AddFile(param.Value.Name, param.Value.Writer, param.Value.FileName, param.Value.ContentType); ==== change to: request.AddFile(param.Value.Name, param.Value.Writer, param.Value.FileName, param.Value.ContentLength ,param.Value.ContentType);
maxw | 2018-04-17 23:22:33 UTC | #4
- build/src/PureCloudPlatform.Client.V2/Extensions/AuthExtensions.cs
RestRequest method (around line 137)
==== request.AddFile(param.Value.Name, param.Value.Writer, param.Value.FileName, param.Value.ContentType); ==== change to request.AddFile(param.Value.Name, param.Value.Writer, param.Value.FileName, param.Value.ContentLength, param.Value.ContentType);
maxw | 2018-04-17 23:24:51 UTC | #5
build/src/PureCloudPlatform.Client.V2/Properties/AssemblyInfo.cs
remove all assembly
Note: I only test with .Net core 2.0.
system | 2018-05-18 23:36:02 UTC | #6
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 2745