Update README with auth instructions

This commit is contained in:
Juan Tejada 2016-06-24 11:57:24 -07:00
parent 8f945888e4
commit 7e2c487034

View file

@ -15,3 +15,9 @@ npm install
```
npm start
```
## Auth an account
```
curl -X POST -H "Content-Type: application/json" -d '{"email":"inboxapptest2@fastmail.fm", "name":"Ben Gotow", "provider":"imap", "settings":{"imap_username":"inboxapptest1@fastmail.fm","imap_host":"mail.messagingengine.com","imap_port":993,"smtp_host":"mail.messagingengine.com","smtp_port":0,"smtp_username":"inboxapptest1@fastmail.fm", "smtp_password":"trar2e","imap_password":"trar2e","ssl_required":true}}' "http://localhost:5100/auth?client_id=123"
```