Cyrus Jmap support question
Ken Murchison
murch at fastmail.com
Tue May 22 11:36:06 EDT 2018
You're getting a 301 because the JMAP endpoint is actually /jmap/ and
not /jmap (note the trailing '/'). I'm not sure why our implementation
requires this. That would be a question for Robert S.
This request works fine on my laptop using the current Cyrus code from Git:
curl --verbose --http2 -X POST -H "Content-Type: application/json" -H
"Accept: application/json" --user ken
-d
'{"using":["ietf:jmap","ietf:jmapmail"],"methodCalls":[["Mailbox/get",{"accountId":null,"ids":null},"#1"]]}'
https://localhost/jmap
On 05/21/2018 01:47 PM, Zhivko Vasilev wrote:
> curl --verbose --http2 -X POST \
> -H "Content-Type: application/json" \
> -H "Accept: application/json" \
> --user u1 at cyrus.mailtemi.com <mailto:u1 at cyrus.mailtemi.com>:q \
> -d '[["Mailbox/get", {}, "#1"],"using":["jmap-core","jmap-mail"]]' \
> http:// <http://35.192.121.94/jmap>35.192.121.94:443
> <https://my.ip.address:443/jmap>/jmap <http://35.192.121.94/jmap>"
--
Ken Murchison
Cyrus Development Team
FastMail US LLC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/cyrus-devel/attachments/20180522/b22e50b4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: murch.vcf
Type: text/x-vcard
Size: 4 bytes
Desc: not available
URL: <http://lists.andrew.cmu.edu/pipermail/cyrus-devel/attachments/20180522/b22e50b4/attachment.vcf>
More information about the Cyrus-devel
mailing list