Adding jsdoc, fixing key to account for http verb