Skip to content

Commit

Permalink
Seperate curl example into curl command and results
Browse files Browse the repository at this point in the history
  • Loading branch information
mjmayer committed Apr 10, 2018
1 parent 980acd3 commit e4d0c06
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions about/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,28 @@

Introduction
============
Until now, interacting with email was limitted using desktop or web based
Until now, interacting with email was limitted to using desktop or web based
clients. Mailsac allows you to interact with your email via REST API,
webhooks and websockets. How easy is it? Easy.

--------------------------------------------

------------
Curl Example
------------

You can use curl to view emails sent to admin@mailsac.com

.. literalinclude:: intro_curl.bash
:language: bash
:emphasize-lines: 1
:lines: 1-35,49-51
:lines: 1

Information about the most recent email is returned as JSON

.. literalinclude:: intro_curl.bash
:language: bash
:emphasize-lines: 1
:lines: 2-35,49-51
.. tip:: This may look for more information than you need. But it provides
a great example of all the hard work mailsac has done to make parsing
of email easier.
of email easier.

0 comments on commit e4d0c06

Please sign in to comment.