Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

scotty-format

scotty-format is a helper for the Scotty web framework that helps you defining different response formats based on the request's Accept header value.

The functional inspiration for this helper comes from how Rails handles different response formats. In Rails you can implement any action to respond with different formats based on a request Accept header value.

Inspiration for the implementation of this helper comes from scotty-resource, another helper for Scotty that lets you define REST resources easily by following HTTP strictly.

Usage example

Checkout the examples directory.

About

Response format helper for the Scotty web framework

Resources

License

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •