module Roda::RodaPlugins::InvalidRequestBody::RequestMethods

  1. lib/roda/plugins/invalid_request_body.rb

Methods

Public Instance

  1. POST

Public Instance methods

POST()

Handle invalid request bodies as configured if the default behavior raises an exception.

[show source]
   # File lib/roda/plugins/invalid_request_body.rb
73 def POST
74   super
75 rescue => e 
76   handle_invalid_request_body(e)
77 end