Skip to main content

Responses

  • Chapter
  • First Online:
The Definitive Guide to AdonisJs
  • 893 Accesses

Abstract

In the previous chapter, we learned about requests. The flip side of that coin is responses. For each request that demands something of our application, a well-crafted JSON, XML, or HTML response is the answer. Perhaps the request is for a list of users or an API authentication. In this chapter, let’s learn the ins and outs of responses.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 19.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Christopher Pitt

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Pitt, C. (2018). Responses. In: The Definitive Guide to AdonisJs. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3390-0_5

Download citation

Publish with us

Policies and ethics