Using gist.github.com, I am able to get JSON in raw form. However, when I edit the code, the url of the raw format changes. Can you suggest me a website which can do this bit for me? I would like to have a constant URL of my JSON code which I can edit it and have changes live on the same link.
{
"error": false,
"products": [
{
"name": "spiderman",
"image": "insert image link here"
},
{
"name": "superman",
"image": "insert image link here"
},
{
"name": "batman",
"image": "insert image link here"
}
]
}
The Url of gist changes with every version , if you want the url to stay constant
Try
paste your response and save it will give url , just bookmark the url
get id from url and paste it in following url
https://jsonblob.com/api/jsonBlob/YOUR_ID
it will give raw response
Or else better get your own hosting , it will be good and more customizable
for your response
for changing data use
https://jsonblob.com/aa1ada56-6aed-11e8-b292-634b403e9ce7
for getting raw response use
https://jsonblob.com/api/jsonBlob/aa1ada56-6aed-11e8-b292-634b403e9ce7