hello-project - Print our “Hello !” message
POST /projects/{project-name}/cookbook~hello-project
Prints “Hello !”.
--french
Translate to French.
--message
Greeting Message
Any authenticated user.
Have the server say Hello to the user
curl -X POST --digest --user joe:secret http://host:port/a/projects/foo/cookbook~hello-project“Hello joe from project foo!”
Have the server say Bonjour to François
curl -X POST -H "Content-Type: application/json" \ -d '{message: "François", french: true}' \ --digest --user joe:secret \ http://host:port/a/projects/foo/cookbook~hello-project“Bonjour François from project foo!”
Part of Gerrit Code Review