Re:LoopBack, a new Node.js framework by StrongLoop
by euank on Sunday May 25, 2014 @02:49PM
(#7797130)
Yeah, the HEAD or GET should return a 404 on not existence; however, the HEAD also won't return data which is the point. GET implies that you have need of the returned data (presumably all the properties of that person). GET is for "it exists AND I want to know about it". HEAD really is more appropriate here.
[ Parent
| on HN ]
Re:LoopBack, a new Node.js framework by StrongLoop
by enjoyjava on Sunday May 25, 2014 @04:06PM
(#7797389)
HEAD is a good fit. We'll add support for that. Please open github issues to help us track the feature requests or bug fixes at https://github.com/strongloop/loopback/issues.