简体   繁体   中英

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. Client is android application.

Client jobs: get json from webservice and parse like login get username .... post: client post data they commit example: change username password

Can i write with django or something like that? - sorry because my bad english.

I'd recommend taking a look at django-tastypie . It's an incredibly simple way to set up API's for django models.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM