New feature: HTTP API

Tom Sommer mail at tomsommer.dk
Tue Apr 5 06:25:37 UTC 2016


On 2016-04-04 20:22, aki.tuomi at dovecot.fi wrote:
>> A simple 1-line curl-example in the docs would do wonders :)
>> 
>> http://wiki2.dovecot.org/Design/DoveadmProtocol/HTTP

> an example command would be
> 
> curl -H "Content-Type: application/json" -H "Authorization: Basic 
> <base64
> username:password>" -d
> '[["fetch",{"user":"username","field":["uid"],"query":["mailbox","INBOX"]},"c01"]]'
> http://server:8080/doveadm/v1


Awesome, I got it working with the API key. Thanks :)


More information about the dovecot mailing list