diff --git a/hal-form-example.json b/hal-form-example.json new file mode 100644 index 0000000..7a21597 --- /dev/null +++ b/hal-form-example.json @@ -0,0 +1,18 @@ +{ + "_links" : { + "self" : { + "href" : "http://api.example.org/rels/create" + } + }, + "_templates" : { + "default" : { + "title" : "Create", + "method" : "post", + "contentType" : "application/json", + "properties" : [ + {"name" : "title", "required" : true, "value" : "", "prompt" : "Title", "regex" : "", "templated" : false}, + {"name" : "completed", "required" : false, "value" : "false", "prompt" : "Completed", "regex" : ""} + ] + } + } +}