Callback

After each moderation our service makes a GET request to a callback URL you provide.

Callbacks are optional but recommended. You may also use the webpurify.live.imgstatus method to poll for results.

You can set your callback URL by logging in to your WebPurify account, and selecting your image filter license.

The callback request is made with two arguments: imgid and status

For example:

If you set your callback URL to: http://www.yoururl.com/imgcallback.php

A sample response after an image has been moderated would be http://www.yoururl.com/imgcallback.php?imgid=43534dfdfg3453sffsd&status=1

Possible image statuses are:
- status=1 (approved)
- status=2 (declined)