Skip to content

kapalla/middleware-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo of ConvertEmptyStringsToNull middleware

POST - Create an example webhook

{
  "authentication_mode": "bearer",
  "request_type": "put",
  "content_type": "json",
  "is_active": true,
  "password": "top secret",
  "data": null,
  "username": "",
  "name": "GitHub",
  "url": "https://api.github.com"
}

"username": "" should be converted to "username": null

About

A demo of a Vapor middleware

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages