Feature/add node api

here we'll also have to check that the body is valid json and 400 if not.