Skip to content
This repository has been archived by the owner on Jan 12, 2020. It is now read-only.
/ method-override Public archive

Middleware for override request methods in REST API framework

License

Notifications You must be signed in to change notification settings

go-rs/method-override

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Middleware: Request Method Override

How to use?

Header: X-HTTP-Method-Override
Methods: GET, POST, PUT, DELETE, OPTIONS, HEAD, PATCH

var api = rest.New("/")

api.Use(methodoverride.Load())

About

Middleware for override request methods in REST API framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages