[prev in list] [next in list] [prev in thread] [next in thread]
List: cyrus-devel
Subject: Re: 405 Method not allowed with JMAP
From: "Bruno Thomas via Devel" <devel () cyrus ! topicbox ! com>
Date: 2021-12-22 12:49:59
Message-ID: 16401773990.7EC65BaC.682887 () composer ! cyrus ! topicbox ! com
[Download RAW message or body]
--16401773991.cddbcafF0.682887
Date: Wed, 22 Dec 2021 07:49:59 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Aww you're fast and specific.
Yes I didn't have the httpmodule declared.
Thank you Bron
$ curl -s -X POST -H "Content-Type: application/json" -H "Accept: application/json" \
--user mail@iroco.io <mailto:bruno@iroco.io>:pass http://localhost:8080/jmap/ -d \
'{"using": [ "urn:ietf:params:jmap:core", "urn:ietf:params:jmap:mail" ], \
"methodCalls": [[ "Mailbox/get", {}, "c1" ]]}' | jq \
{ \
"methodResponses": [ \
[ \
"Mailbox/get", \
{ \
"state": "10", \
"list": [ \
...
------------------------------------------
Cyrus: Devel
Permalink: https://cyrus.topicbox.com/groups/devel/Tc0491840a1219fe9-M5023cab809831f689b5d4836
Delivery options: https://cyrus.topicbox.com/groups/devel/subscription
--16401773991.cddbcafF0.682887
Date: Wed, 22 Dec 2021 07:49:59 -0500
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE html>
<html><html><html><body><div><div>Aww you're fast and specific.<br \
/></div><div><br />Yes I didn't have the httpmodule declared.<br /><br \
/></div><div>Thank you Bron<br /></div><div><br /></div></div><pre style="margin:7px \
0;border-radius:3px;border:1px solid #ccc;padding:7px \
10px;background:#f6f6f6;font-family:menlo,consolas,monospace;font-size:90%;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:break-word;">$ \
curl -s -X POST -H "Content-Type: application/json" -H "Accept: \
application/json" --user <a \
href="mailto:bruno@iroco.io">mail@iroco.io</a>:pass <a \
href="http://localhost:8080/jmap/">http://localhost:8080/jmap/</a> -d \
'{"using": [ "urn:ietf:params:jmap:core", \
"urn:ietf:params:jmap:mail" ], "methodCalls": [[ \
"Mailbox/get", {}, "c1" ]]}' | jq \
{ \
"methodResponses": [ \
[ \
"Mailbox/get", \
{ \
"state": "10", \
"list": [ \
...
<br /></pre><div><br /></div><div id="topicbox-footer" style="margin:10px 0 \
0;border-top:1px solid #ddd;border-color:rgba(0,0,0,.15);padding:7px 0;">
<strong><a href="https://cyrus.topicbox.com/latest" \
style="color:inherit;text-decoration:none">Cyrus</a></strong> / Devel / see
<a href="https://cyrus.topicbox.com/groups/devel">discussions</a>
+
<a href="https://cyrus.topicbox.com/groups/devel/members">participants</a>
+
<a href="https://cyrus.topicbox.com/groups/devel/subscription">delivery options</a>
<a href="https://cyrus.topicbox.com/groups/devel/Tc0491840a1219fe9-M5023cab809831f689b5d4836" \
style="float:right">Permalink</a> </div>
</body></html></html></html>
--16401773991.cddbcafF0.682887--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic