Closed bolenton closed 7 years ago
There are several incompatible changes in RestSharp.Portable when compared to the original RestSharp project:
DataFormat
type. The format is chosen by setting the Serializer
.Accept-Encoding
shouldn't be necessary, but you can use your own IEncoding
implementation or the ones provided in the encoding NuGet packageapplication/x-www-form-urlencoded
manually. It will automatically be set when you have a GetOrPost parameter in a HTTP POST request.There are several other changes and I'll help answering them when needed.
Code base was using RestSharp, I made changes to use RestSharp.Portable. Don't know what else to do to get this to work. I would love any assistance getting this port to fully work. Code seem to always hang when I try to Execute.
The problem mostly stems form the
ExecuteRequest(IRestRequest request)
or theCreateRestRequest(Method method, string url, string contentType = null)
Any help would be greatly appreciated.