Skip to content

igas/jsonapi-grape-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • bundle install
  • rackup
  • curl -I -H "Content-Type: application/vnd.api+json" -H "Accept: application/vnd.api+json" https://localhost:9292 - expect to works fine, got 406.
  • Uncomment format :jsonapi in config.ru
  • curl -I -H "Content-Type: application/vnd.api+json" -H "Accept: application/vnd.api+json" https://localhost:9292 - works fine.
  • curl -I -H "Content-Type: text/plain" -H "Accept: text/plain" https://localhost:9292 - respond with application/vnd.api+json, expect to get 406.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages