Cyrus Jmap support question

Zhivko Vasilev zhivko_vasilev at mailtemi.com
Tue May 22 14:48:31 EDT 2018


Thanks a lot, Ken,

Both hints work perfectly :)

Regards,
Zhivko


On Tue, May 22, 2018, at 8:36 AM, Ken Murchison wrote:
> 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:q \
>>      -d '[["Mailbox/get", {}, "#1"],"using":["jmap-core","jmap-
>>      mail"]]' \>>      http://[1]35.192.121.94:443[2]/jmap[3]"
> 
> -- Ken Murchison Cyrus Development Team FastMail US LLC
> Email had 1 attachment:


>  * murch.vcf
>   1k (text/x-vcard)


Links:

  1. http://35.192.121.94/jmap
  2. https://my.ip.address:443/jmap
  3. http://35.192.121.94/jmap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/cyrus-devel/attachments/20180522/2fd35133/attachment-0001.html>


More information about the Cyrus-devel mailing list