Accepts
Choose a response format based on browser request preferences.
jshttp · Web and apps
GitHub projectOpen source Open on GitHubHow to try it
In a Node.js project, install [email protected]. Compare HTML and JSON against a mock request that prefers JSON.
What we tested
1.3.8. Compare HTML and JSON against a mock request that prefers JSON. Selected JSON for the fictional request because it had the higher stated preference.
Reviews
Rate this repoMore to explore
- cattrsConvert Python records to and from simple dictionary data.GitHub projectOpen source
- h2 for PythonBuild and parse HTTP/2 messages from Python.GitHub projectOpen source
- Go QuerystringBuild URL query parameters from fields of a Go structure.GitHub projectOpen source