Pictures REST API on a node server