[英]How to create a REST webservice with client can get json and client can post data to webservice?
I have a project to get data from webservice to do jobs and post data to webservice to commit. 我有一个从Web服务获取数据来执行作业并将数据发布到Web服务进行提交的项目。 Client is android application. 客户端是android应用程序。
Client jobs: get json from webservice and parse like login get username .... post: client post data they commit example: change username password 客户端作业:从Web服务获取json并像登录一样解析以获取用户名.... post:他们提交的客户端发布数据,例如:更改用户名密码
Can i write with django or something like that? 我可以用django或类似的东西写作吗? - sorry because my bad english. -对不起,因为我的英语不好。
I'd recommend taking a look at django-tastypie . 我建议看看django-tastypie 。 It's an incredibly simple way to set up API's for django models. 这是为Django模型设置API的一种非常简单的方法。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.