Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Agreed with all of these points.

> I think it should be JSON-first, not HTML-first

Isn't that the case in Rails 5? https://guides.rubyonrails.org/5_0_release_notes.html#api-ap...



Yes, I'd forgotten that that was option I should have addressed. The issue is that I want things like cookies to be supported out of the box for things like Ember, even if I want other API consumers to use locally stored tokens. But you're right. There is some attention going that way.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: