$client->responseContent() is not returning JSON, so calling from_json on it results in an error.
$client->responseContent() appears to be returning an error message. Try printing out that error message and reading it. It should give you a clue what to do next.
In reply to Re: REST call from CGI do not work
by tobyink
in thread REST call from CGI do not work
by Sterh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |