halacious icon indicating copy to clipboard operation
halacious copied to clipboard

HAL Forms support?

Open legomind opened this issue 9 years ago • 2 comments

I see #78, but this is more of a feature request.

Something as simple as this could be used to mark a route as a form.

server.route({
  method: 'POST',
  config: {
    handler: (req, reply) => {/*...*/},
    plugins:{
      hal:{
         form: true,
       },
    },
  },
})

legomind avatar Dec 24 '15 21:12 legomind

Is this the spec you are referencing? http://mamund.site44.com/misc/hal-forms/

bleupen avatar Feb 21 '16 16:02 bleupen

Yes. Indeed.

legomind avatar Feb 21 '16 16:02 legomind