一般的asp.net web api应该接受哪些格式? [英] Which formats should a general asp.net web api accept?

查看:50
本文介绍了一般的asp.net web api应该接受哪些格式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿伙计们,我的问题是关于asp.net web api中的POST方法。这种方法应该接受哪种格式?以及如何定义它们?关于RESTful api的任何好的做法?

解决方案

观看这个...你会得到一个很好的主意。这是迄今为止我见过的最好的视频...



http://channel9.msdn.com/Events/aspConf/aspConf/Introduction-to-the-ASP-NET-Web-API [< a href =http://channel9.msdn.com/Events/aspConf/aspConf/Introduction-to-the-ASP-NET-Web-APItarget =_ blanktitle =New Window> ^

Hey guys, my question is about the method POST in an asp.net web api. Which formats should this method accept? and how do I define them? any good practices about this for a RESTful api?

解决方案

Watch this... You will get a pretty good idea. It is the best video I have seen so far...

http://channel9.msdn.com/Events/aspConf/aspConf/Introduction-to-the-ASP-NET-Web-API[^]


这篇关于一般的asp.net web api应该接受哪些格式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆