Skip to content

Documentation on how to fetch request body data #31

@E14

Description

@E14

Documentation on the intended way on how to fetch the request body data for PUT/POST/... requests is missing.

put "/" do
    IO.puts(inspect(conn.body_params))
    ""
end

# Prints:
# %Plug.Conn.Unfetched{aspect: :body_params}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions