考虑下面的类
public class StController:apicontroller {
public void PostBodyMethod() {
HttpRequestMessage request=this.request;
//How to read the header and body parameters
}
}
applet 将 header 和 body 参数都发送到 post 方法。如何使用 HttpRequestMessage 对象检索与 webapi 控制器内部的 post 方法一起发送的信息?