Hello,
I am trying to use the Blockonomics API to set up callback notifications. However, when I send a POST request to the URL https://www.blockonomics.co/api/test_callback?secret=gdjklgdfkl using my API key, I am encountering an issue when trying to process the JSON response. The response status code is 200, but when I attempt to parse the response as JSON, I receive an error “Expecting value: line 1 column 1 (char 0)”.
I have tried to print the content of the response, and it seems that the server is returning an empty response or something that is not valid JSON. I would like to clarify why this is happening and how I can resolve this issue.
I would appreciate any assistance or recommendations on resolving this problem.
My Python Code: