HN user

digitallimit

1 karma
Posts1
Comments13
View on HN

In a lot of APIs I've dealt with, you can create resources with ids that match your own resources, hence wanting to use PUT for creation, e.g. if you have users in your application and you want to extend them to this web service, instead of having to store an additional "foreign key" per user, you can just PUT users in the web service with ids from your own service.

I'm doing this for the API I'm building, as modeled on FatSecret's API.

I really like the look of the scrollbars on HTML5 Rocks' home site under Mobile and Business and I want to use them, or at least check out the code for inspiration on making my own.

That said, my usual route of inspecting the element, grabbing the relevant class or id, and then scouring scripts via Find has left me empty handed, in large part due to the minification making the scripts much harder to read, and my inability to find any js references to that one_half class that is applying the new sex.

Does anyone have any other strategies?

I reposted this text since it doesn't appear under the parent (apparently you can't do a link with text).