News for hackers. Stuff that matters.
Re:JSONbin.io – Simple JSON Storage (Beta) by sillysaurus3 on Tuesday May 16, 2017 @01:16AM (#14347531)
The primary purpose of your app is to paste some JSON then send someone a URL to access it, right?

If a user pastes some JSON, clicks the Access URL text box, presses Command-A Command-C to copy the URL, then pastes it to someone else, that person won't be able to open the URL, because it lacks a "https: prefix. That's probably a bug, whether or not it's an intended feature.

It's not something that matters very much, but your users might be slightly annoyed at having to chop off the leading "//" every time they want to copy the URL.

I admit I might be missing something obvious, though.

Re:JSONbin.io – Simple JSON Storage (Beta) by mr_ali3n on Tuesday May 16, 2017 @01:22AM (#14347553)
The primary purpose of the app is to provide free storage and an endpoint to access it in an app. I've also provided a VIEW link beneath the access URL to view it in the browser. If I hard code https:// in front of the access URL, it might fail on non-https URLs and vice versa. Still, I think your concern is legit, will look into it and try to make it more flexible. Thanks for the suggestion bud. Appreciated.
Re:JSONbin.io – Simple JSON Storage (Beta) by sillysaurus3 on Tuesday May 16, 2017 @01:30AM (#14347571)
Ah, got it. Nah, you're right, it's obviously meant to be used from within apps, not manually sent to someone else. Just a late-night derp.

I didn't expect it to be a service for freely hosting data -- that's pretty cool. I assumed it would return a rate limit error if you tried to use it for anything substantial.

(I missed the About link https://jsonbin.io/about at the bottom, which explains all this.)

Re:JSONbin.io – Simple JSON Storage (Beta) by hdhzy on Tuesday May 16, 2017 @02:17AM (#14347722)
Yeah it also struck me as something weird and I know about using //. Maybe prepend http/https based on the current page's protocol? So that URL looks like a URL.

By the way cool service. I've got an internal JSON store service too and it's super useful for a number of purposes.

Re:JSONbin.io – Simple JSON Storage (Beta) by adnanh on Tuesday May 16, 2017 @02:33AM (#14347777)
it's perfectly okay to load https content on the http urls, just not vice versa