Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
使用restsharp序列化对象并将其传递给WebApi而不是序列化列表
我有一个看起来像的视图模型 public class StoreItemViewModel public Guid ItemId get set public List
c
ASPNETMVC
aspnetwebapi
jsonnet
restsharp
RestSharp RestClient的默认超时值是多少?
任何人都知道默认超时值休息锐利 https github com restsharp 休息客户端 RestSharp 在底层使用 HttpWebRequest 它有一个默认超时 https msdn microsoft com en us
http
timeout
restsharp
RestClient
为什么 RestSharp 反序列化两个日期的方式不同?
我有一个返回此值的休息调用 使用 Chrome 中的 Advance Rest Client 进行测试 MyObject 22 0 ID 123456 UTC1 2013 04 19T03 12 32Z UTC2 2013 04 19T03
c
NET
aspnetwebapi
deserialization
restsharp
重置 Windows Phone 照片上传
我正在尝试使用 RestSharp 将照片上传到 Windows Phone 7 应用程序中的 REST api 进行获取 发布 post参数如下 photo 照片 编码为多部分 表单数据 照片 相册 id 现有相册的标识符 可以是一个事件
REST
windowsphone7
multipartformdata
restsharp
当响应标头具有位置字段时,RestSharp 返回空值
我的休息要求 RestSharp RestClient uplClient new RestSharp RestClient RestSharp RestRequest request new RestSharp RestRequest I
c
windowsphone7
restsharp
WebAPI 请求格式的异常
在项目中使用RC版本的MVC4 WebAPI 我在API服务器端不断遇到以下错误 System FormatException The format of value application json charset utf 8 is in
aspnetmvc4
aspnetwebapi
restsharp
RestClient发送IFormFile
我从我的控制器收到一个文件 public async Task
c
ASPNETCore
multipartformdata
restsharp
作为依赖项和不同的 publicKeyToken 共享时 RestSharp 错误
使用来自的 APIDocusign Twilio and Auth0 全部 3 个都有RestSharp dll作为依赖 如果我使用RestSharp dll包含在Docusign包裹 Docusign效果很好但是Auth0 and Twi
c
aspnet
NET
docusignapi
restsharp
RestSharp 发布请求 - 具有 x-www-form-urlencoded 值的正文
我正在使用邮递员并发出 api post 请求 其中我使用 x www form urlencoded 键 值添加正文 并且它在邮递员中工作正常 当我使用 RestSharp 包从 C 尝试时 出现了问题 我已尝试下面的代码但没有得到响应
c
POST
restsharp
以编程方式调用多部分表单方法
我的 WebApi 有以下方法 HttpPost Route foo bar Consumes multipart form data DisableRequestSizeLimit public async Task
c
ASPNETCore
POST
aspnetwebapi
restsharp
使用 RestSharp 根据请求添加证书
我正在尝试与服务器通信 该服务器向我发送证书和私钥 以便成功执行我的请求 为了测试服务器 我使用Postman https www getpostman com 所以我在邮递员中填写了证书设置 并且我的请求工作正常 现在我想在 C 中做同样
c
x509certificate
restsharp
RestSharp 到 WCF 作为 JSON 日期格式化/序列化
我有一个 WCF 方法 它接受 时间戳 列表 public bool SyncTimestamps IList
wcf
restsharp
取消 RestSharp 请求
我正在制作一个 wp7 应用程序 它使用 RestSharp 下载一些数据 我注意到应用程序指南要求我提供一个允许用户取消数据传输的 ui 元素 是否可以在休息时取消 ExecuteAsync 请求 ExecuteAsync 返回一个Res
windowsphone7
restsharp
RestSharp 在上传时将整个文件加载到内存中。如何避免呢?
我在 Mono 项目中使用 RestSharp 上传一些文件 我注意到上传大文件时 内存会大幅增长 看着RestSharp源代码 https github com restsharp RestSharp blob master src Re
c
NET
http
MONO
restsharp
RestSharp 可以在 POST 请求中发送 List
吗?
我想得到休息锐利 https github com restsharp RestSharp享受我拥有的令人安心的服务 一切似乎都工作正常 除了当我的对象通过POST包含一个列表 在这种特殊情况下是一个列表string 我的对象 public
json
serialization
restsharp
Restsharp 响应中缺少 Cookie
我将 Restsharp 用于我正在开发的 WPF 客户端 看来我在 client CookieContainer 中没有收到 cookie 在我成功向我们的服务器进行身份验证后 它始终有 0 个项目 这很奇怪 因为使用 Postman 发
c
restsharp
RestSharp - 如何处理非 200 响应? RestClient 在执行时抛出异常
我在 Windows Phone 8 1 应用程序中使用 RestSharp 当服务器返回代码不同于 200 的响应时 RestClient 会抛出异常 Wiki https github com restsharp RestSharp w
c
NET
windowsphone81
winuniversalapp
restsharp
在 Windows Phone 7 中使用 RestSharp
我正在尝试使用 RestSharp http restsharp org http restsharp org 在 Windows Phone 7 项目中 但我似乎遇到了 RestSharp 使用的 Newtonsoft Json NET
windowsphone7
restsharp
为什么我在 RestSharp 中的初始调用非常慢?但之后的其他人都很快
我正在使用 RESTSHARP 调用 WEB API 它们工作正常 但是 对 API 的初始调用 无论调用是什么 有时可能需要长达 10 秒的时间才能获得响应 此后的所有其他呼叫都非常快 有谁知道解决这个问题的方法吗 我正在运行 WPF 4
c
NET
WPF
restsharp
WP7 - 防止 RestSharp 缓存
我在 Windows Phone 7 1 项目中使用 RestSharp 我的问题是 RestSharp 总是缓存响应数据 Example 我第一次发送请求时 它正确返回数据 经过一些删除操作后 我再次发送该请求 但响应似乎与第一次相同 没
windowsphone7
restsharp
1
2
3
»