在C#中响应特定HTTP POST请求的服务器

时间:2018-09-24 19:54:24

标签: c# http post

我想知道是否有一种方法可以使用C#编写对特定POST请求作出响应的HTTP Server? 例如,客户端在POST请求中向{"name":"Bob", "working":"true"}发送类似{"name":"Eva", "working":"false"}的内容,而服务器具体响应他“好吧鲍勃,一切都很好,请您检查一下“ Windows”文件夹吗? ”并将在“ http://127.0.0.1/Bob/hello”中为SELECT t1.ID, t1.game, t1.point, t2.tv_chan FROM Table1 AS t1 INNER JOIN Table2 AS t2 ON t2.id = t1.id INNER JOIN (SELECT t11.game, MIN(t11.point) AS min_point FROM Table1 AS t11 WHERE t11.point != 0 GROUP BY t11.game ) AS t3 ON t3.game = t1.game AND t3.min_point = t1.point WHERE t1.point != 0 做出响应。 是否可以这样做?如果是,怎么做?谢谢。

0 个答案:

没有答案