restclient.el
restclient.el copied to clipboard
restclient-http-do direct call fail?
(restclient-http-do
"POST"
"https://www.xxx.yyy.zzz/jira3/rest/auth1/session"
'(("Content-Type" . "application/json"))
"{\"username\":\"AAAA\":\"password\":\"BBBB\"}")
failed with the following backtrace. What is wrong?
Debugger entered--Lisp error: (wrong-number-of-arguments #f(compiled-function (status method url bufname raw stay-in-window) #<bytecode 0x208c121>) 4)
...
Absolutely interactive mode works fine.
But restclient-http-do direct call fail.
I also attach screenshot.