? 我有这个模型Meeting.cs public class Meeting public string Id { get; set; } public TimeSpan Start_time { get; set; } public TimeSpan End_time { get; set; } public
我正在尝试使用RestSharpe.NetCore(v.105.2.3.0)发出GET请求,例如C#中的https://pokeapi.co/api/v2/pokemon/ditto。然而,我在下面的代码中得到了一个Error: SecureChannelFailure (Unable to read data from the transport connection: Connection
因此,现在,在我的服务器端代码中,我需要弄清楚特定的PUT请求在业务功能方面意味着什么,因此需要调用哪些业务功能。
但是,仅仅通过检查表单数据中的值,我如何可靠地确定要调用哪个函数呢?在PUT中传递一个"action“字段和表单数据,比如"update”或"submit for review“,这是非常诱人的!然后,服务器可以根据该值进行切换。仅仅通过在restlet中使用一堆if-then-else检查表单数据来推断单击了哪个按钮似乎并不