class Crest::JSONForm(T)

Overview

This class lets crest convert request hash to JSON This causes crest to POST data using the "Content-Type" application/json.

Defined in:

crest/forms/json_form.cr

Instance Method Summary

Instance methods inherited from class Crest::Form(T)

content_type content_type, form_data form_data, generate generate, params params

Class methods inherited from class Crest::Form(T)

generate(params : Hash, params_encoder : Crest::ParamsEncoder.class) generate

Instance Method Detail

def generate #

[View source]