Skip to content

🚀 [FEATURE] - Improve API for incoming request validation #17

@ararog

Description

@ararog

What you need?

Should be something like:

when! {
   req
   path => "/users/1",
   method => GET
   content_type => "plain/text"
   body ~= "^/(.*)/$"
}

then! {
   content_type => "application/json"
   body => b"{ \"name\" = \"Roger\" }"
}

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions