Hi all,
I'm testing jmap on on cyrus 3.4.2 compiled with the options : ./configure --enable-calalarmd --enable-autocreate --enable-nntp --enable-http --enable-jmap --with-pgsql --with-openssl=yes --enable-idled --with-pgsql-incdir=/usr/include/postgresql --enable-xapian --with-sphinx-build=no I can auth with PAM/SASL $ sudo testsaslauthd -f /var/run/saslauthd/mux -u m...@iroco.io <mailto:br...@iroco.io> -p pass -s http 0: OK "Success." I can auth with imtest : $ imtest -p 143 -m plain -u m...@iroco.io <mailto:br...@iroco.io> -a br...@iroco.io -w pass localhost Caldav/Carddav are also working with curl. But when I try to curl JMAP with the following request (from https://wikisuite.org/Cyrus-IMAP-3-and-JMAP-development#JMAP_webmail) $ curl -i -X POST -H "Content-Type: application/json" -H "Accept: application/json" --user m...@iroco.io <mailto:br...@iroco.io>:pass -d '[["getCalendars", {}, "#1"]]' http://localhost:8080/jmap/ HTTP/1.1 405 Method Not Allowed Date: Wed, 22 Dec 2021 11:50:49 GMT Connection: Upgrade Upgrade: h2c Vary: Accept-Encoding Allow: OPTIONS, GET, HEAD Content-Type: text/html; charset=utf-8 Content-Length: 488 ... when I try to use method GET as said in the Allow headers I have HTTP/1.1 415 Unsupported Media Type Do you know how I could test that JMAP is correctly compiled (a service URL to check it is here) ? And do you know why I have this method not allowed ? Thanks for your help. Bruno Thomas ------------------------------------------ Cyrus: Devel Permalink: https://cyrus.topicbox.com/groups/devel/Tc0491840a1219fe9-M51bac1a1aa4894fbf5b0269f Delivery options: https://cyrus.topicbox.com/groups/devel/subscription