It is sent by a POST but not sure what the Content-type is. If set to application/json then request.payload.name would work, otherwise a transformation will need to occur.