Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS - Hosting JSON file to parse it using URL [closed]

I have a .json file with valid data. I want to host it online and use the live url in my app. I tried putting the json file in drop box and tried to verify the json data on http://jsonformatter.curiousconcept.com site but it shows "JSON data URL does not contain JSON data" Is there any other way can I achieve this? Thanks.

like image 516
Obj-Swift Avatar asked Aug 29 '13 20:08

Obj-Swift


2 Answers

You can still use Dropbox if you don't want to pay for a hosting provider or if you just want to test your app before paying for one.

To do this, you need to replace the www.dropbox.com part of the URL with dl.dropboxusercontent.com as is said in this Dropbox article.

I'm mainly leaving this answer for the future, as this can be useful for other people (me included).

like image 135
agarie Avatar answered Jan 04 '23 00:01

agarie


This is exactly the problem I wanted to solve with http://www.myjson.com An easy and simple solution to hosting JSON.

like image 31
Lance Avatar answered Jan 03 '23 23:01

Lance