Payload to HTTP request mapping The payload types describe the shape of the data given as an argument to the service methods. The HTTP transport specific DSL defines how the data is built from the incoming HTTP request state.
The HTTP request state comprises four different parts:
The URL path parameters (for example the route /bottle/{id} defines the id path parameter) The URL query string parameters The HTTP headers And finally the HTTP request body The HTTP expressions drive how the generated code decodes the request into the payload type:
↧