Sekarang pertukaran data baik itu dekstop, mobile, web sangat mudah dilakukan dengan adanya JSON. Banyak API yang menyediakan dengan format JSON, seperti api.tiket.com, api.cekresi.com bahkan perusahaan besar semacam facebook, google, twitter juga menggunakan API. Cangkal kali ini mencoba sharing bagaimana mengambil data JSON dari URL (website) menggunakan framework codeigniter. URL yang digunakan yaitu http://jsonplaceholder.typicode.com/posts/ . URL ini memang sengaja dibuat untuk digunakan sebagai testing. Data JSON yang diberi oleh URL tadi bentuknya seperti ini [{ "userId": 1, "id": 1, "title": "sunt aut facere repellat provident occaecati excepturi optio reprehenderit", "body": "quia et suscipit\nsuscipit recusandae consequuntur expedita et cum\nreprehenderit molestiae ut ut quas totam\nnostrum rerum est autem sunt rem eveniet architecto" }, { "userId": 1, "id": 2,
If you're trying to lose fat then you absolutely need to try this brand new custom keto diet.
BalasHapusTo create this service, licensed nutritionists, fitness trainers, and cooks have joined together to develop keto meal plans that are efficient, decent, cost-efficient, and satisfying.
From their launch in early 2019, 1000's of individuals have already transformed their body and well-being with the benefits a smart keto diet can give.
Speaking of benefits; in this link, you'll discover 8 scientifically-certified ones provided by the keto diet.