After sending the same POST
request using a cURL command, the response I receive is:
{"allowed":[],"error":null}
However, when I incorporate the POST
request in my code and print it using either
console.log("response: ", response);
or console.log("response: ", response.data);
, all I see printed out is
'response: ,[object Object]'
Is there a way for me to view the actual content of the response in my logs?