ServerMania logo

Add Recipe Group

To create a recipe group, use the following request:

POST /recipe_groups.xml
POST /recipe_groups.json

XML Request Example

curl -i -X POST -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass -d '<recipe_group><label>test</label></recipe_group>' --url http://test/recipe_groups.xml

JSON Request Example

curl -i -X POST -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass -d '{"recipe_group":{"label":"test"}}' --url http://test/recipe_groups.json

Where:

label - recipe group name