Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

how to post json having array of objects like you receiving in response in your example?? please answer soon…
- Nishad Vadgama
Hey, Anupam Chugh Really awesome blog this helped me a great and now im able to send and receive data from server. Carry on the good work.
- Ankit Palli
Hey Thank you for such a good example and detailed explaination about Retrofit After my complete day struggle finally got my issue solved… Thank you very much.
- Ankit Palli
TO convert the response in POJO form the website gives error saying “There’s a problem: Unexpected character (‘p’ (code 112)): was expecting double-quote to start field name (line 2, column 2)”. So I manually apply double quotes to all the keys of the json response. What is the alternative for that ? How did u manage to get double quotes on all the keys with out manually applying it ?
- Aalap Patel
The app keeps closing down on start on Android studio 2.3.3 Can you please assist.
- el
Hey… I got this type of Error. in forEach loop… in every ForEach loop… Error: java.lang.ClassCastException: com.google.gson.internal.LinkedTreeMap cannot be cast to com.example.android.retrofitjournaldevcom.MultipleResource$Datum for (MultipleResource.Datum datum : datumList) { displayResponse += datum.id + " " + datum.name + " " + datum.pantoneValue + " " + datum.year + “\n”; } Help me to solve this problem as soon as possible
- Ahsan Saeed
I need help with foursquare apis using retrofit get for this link https://api.foursquare.com/v2/venues/explore?client\_id=TDQG4LF1M1O5SZESHJ42BRSZQDPJY4B53NQN5RDTRRZZPNYM&client\_secret=PGLQ4RV5R0FDIPHAPJO4RT3KJXO02ARZ4LQ3NWS3TPFIUUJ0&v=20130815&ne=19.241143,72.994881&query=history&sw=18.912417,72.82397 I need to fetch venue name, lat lng ,checkin counts, rating .How do I go about it?
- Sam
Thanks for your excellent tutorial. In MultipleResource.java, there’s a bit lack of code which leads to error. public List data = null; Should be public List data = null;
- willy
Thank you for show us a good example. I have a question, Do I need ‘com.google.code.gson:gson:2.6.2’ and ‘com.squareup.retrofit2:converter-gson:2.1.0’ together? I mean, in what case I need just one or both. what does gson do? and what does converter-gson do?. Thank you very much.
- Ronaldo