Can't POST a list of domain to denylist
Hi,
I'm using PHP to post a list of domain to denylist however I'm getting an error :
Request failed with errors.
Error Code: required
Error Detail: `` must have required property 'id'.
Error Source:
Error Code: extraneous
Error Detail:
Error Source: /denylist
Domain: example.com
Response: {"errors":[{"code":"required","source":{"pointer":""},"detail":"`` must have required property 'id'."},{"code":"extraneous","source":{"pointer":"/denylist"}}]}
Error Code: required
Error Detail: `` must have required property 'id'.
Error Source:
Error Code: extraneous
Error Detail:
Error Source:
Request failed with errors.
Error Code: required
Error Detail: `` must have required property 'id'.
Error Source:
Error Code: extraneous
Error Detail:
Error Source: /denylist
Domain: test.com
Response: {"errors":[{"code":"required","source":{"pointer":""},"detail":"`` must have required property 'id'."},{"code":"extraneous","source":{"pointer":"/denylist"}}]}
Error Code: required
Error Detail: `` must have required property 'id'.
Error Source:
Error Code: extraneous
Error Detail:
Error Source:
Request failed with errors.
Error Code: required
Error Detail: `` must have required property 'id'.
Error Source:
Error Code: extraneous
Error Detail:
Error Source: /denylist
Domain: example.org
Response: {"errors":[{"code":"required","source":{"pointer":""},"detail":"`` must have required property 'id'."},{"code":"extraneous","source":{"pointer":"/denylist"}}]}
Error Code: required
Error Detail: `` must have required property 'id'.
Error Source:
Error Code: extraneous
Error Detail:
Error Source:
3 Added to blacklist
Done, exiting app
Any idea please what I'm missing here?
Reply
Content aside
- 1 yr agoLast active
- 24Views
-
1
Following