Liberator.Resource.well_formed-question-mark

You're seeing just the callback well_formed-question-mark, go back to Liberator.Resource module for more information.

Specs

well_formed?(Plug.Conn.t()) :: true | false

Check the request for general adherence to some form.

If this function returns false, then the plug will return a 400 Malformed response.

This is a good place to parse the request body. If, for example, the body is not valid JSON, this is the function that should return false. If you're checking the body of a request against some schema, like checking if your changeset is valid, you should override processable?/1 instead.

By default, always returns true.