Reading a Global Setting in a script

Personally I would return the postdata and drop in json validator site to first check the string is correctly formatted.

Do you get nothing in your response?

One this you might want to check is the TLS version required by the API
Newbook upped their minimum for PCI reasons which requires a registry edit for .net to force higher security level.

See