On Monday, January 2, 2017 at 5:29:32 AM UTC, Massimo Di Pierro wrote: > > Can you elaborate? > > On Sunday, 1 January 2017 23:16:57 UTC-6, PK wrote: >> >> {"content": [{"name": "Harry Potter and the Philosopher's Stone", "price": >> 1000, "id": 5, "stock": 700}, {"name": "Harry Potter and the Chamber of >> Secrets", "price": 1200, "id": 6, "stock": 1500}, >> {"name": "Harry Potter and the Prisoner of Azkaban", "price": 700, "id": 7, >> "stock": 800}]} >> >> is there anyone can tell me how to create api and interface on android to >> get json data >> >> It work well , i get json data from my android application.My result is <https://lh3.googleusercontent.com/-S5R6IErw3GA/WGtM1T_1P1I/AAAAAAAAABk/nGvq_YNM9qkmQeC7qRISymSFhZgBj1u6wCLcB/s1600/Screenshot_2017-01-03-13-30-02-751_com.example.aspire.webthree.png>
I use retrofit Rest Client and take above json data from web2py server. When i used other json data from other web site it work well. data will be like this <https://lh3.googleusercontent.com/-Eew07U0Ie-Q/WGtNF5mQh_I/AAAAAAAAABo/4saPUzeFUCwFtz2A8fl0uJcevkuZLXo4gCLcB/s1600/2.PNG> My result is something like this <https://lh3.googleusercontent.com/-ZbkFhfb5mBk/WGtNRyJTFII/AAAAAAAAABw/ajZ_NzHsZv43giC2Cm45IFF4ISedZJxPwCLcB/s1600/Screenshot_2017-01-03-13-30-02-751_com.example.aspire.webthree.png> <https://lh3.googleusercontent.com/--oPudo42BXs/WGtNZxMSmLI/AAAAAAAAAB0/j3EJMr69Myk0NKvS9H6MgCJZaxY_j2crwCLcB/s1600/Screenshot_2017-01-03-13-30-09-998_com.example.aspire.webthree.png> But when i take json data from web2py server i can't get json data. web2py data is something like this The following are web2py Json data <https://lh3.googleusercontent.com/-bIv2DlqW1tY/WGtNySGT1kI/AAAAAAAAAB4/HwcdcUGx56Mq8bLcquxMlTIodq1EgQVAwCLcB/s1600/Capture.PNG> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.