Abstract
As should be evident by now, a server has the ability to provide a tailored response to best match the indicated method, resource, and the configured headers of an incoming request. This protocol, when paired with static content, can be utilized by the server software to translate an incoming request into a location for said resource located on its file system. The specified path of the resource is translated via the server software into that of a determined directory, for which a file is thought to exist. The response is either the content of the file or a 404 page.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
R. Fielding et al., Hypertext Transfer Protocol—HTTP/1.1, http://tools.ietf.org/html/rfc2616 , 1999.
- 2.
Merriam Webster Online Dictionary, “preflight,” http://www.merriam-webster.com/dictionary/preflight , 2015.
- 3.
World Wide Web Consortium (W3C), Anne van Kesteren, ed. “Cross-Origin Resource Sharing,” www.w3.org/TR/cors/ , January 16, 2014.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2015 Ben Smith
About this chapter
Cite this chapter
Smith, B. (2015). Posting JSON. In: Beginning JSON. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0202-9_11
Download citation
DOI: https://doi.org/10.1007/978-1-4842-0202-9_11
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-0203-6
Online ISBN: 978-1-4842-0202-9
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books