curl / Mailing Lists / curl-users / Single Mail

curl-users

Authentication Problem

From: Mathias Varga <mathiasmarkusvarga2_at_gmail.com>
Date: Sun, 4 Nov 2018 14:48:43 +0100

*When i use this Code to get authenticated : *
 curl -d -H "Accept: application/json"
{"id":"1","method":"authenticate","params":{"user":"USER","password":"PASSWORD","client":"CLIENT",
"?school":"htl-donaustadt"},"jsonrpc":"2.0"}
https://melete.webuntis.com/WebUntis/jsonrpc.do?school=htl-donaustadt
--insecure
 *i get this error message :*
 curl: (3) [globbing] unmatched close brace/bracket in column 27
{"jsonrpc":"2.0","id":null,"error":{"code":-32700,"message":"Parse error:
No content to map due to end-of-input\n at [Source:
org.apache.catalina.connector.CoyoteInputStream_at_102d63fc; line: 1, column:
0]"}}

Help would be very nice
Thanks a lot

-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-11-04