Skip to main content

APPLICATION_JSON

Constant APPLICATION_JSON 

Source
pub const APPLICATION_JSON: &str = "application/json";
Available on crate feature transport only.
Expand description

The Content-Type OCPI bodies use.

The HTTP header: Content-Type SHALL be set to application/json for any request that contains a message body: POST, PUT and PATCH.