Discussions
how to get task status with callback url?
about 2 months ago by majid
I want to use thehive API to detect AI generated images, when I submit an image it returns the following response
Array
(
[id] => 26ac91d1-42f1-11ef-b35c-272999020f8e
[message] => We received your task.
[project_id] => 66344
[customer_id] => 3134366
[user_id] => 3134366
[task_id] => 26ac91d1-42f1-11ef-b35c-272999020f8e
[queue_priority] => 3
[task_priority] => 3
[image_url] => http://hive-public.s3.amazonaws.com/demo_request/gun1.jpg
[media_objects] =>
[extra_media] =>
[token_id] => 153917
)
After that I send another request by cURL but it always shows response in 400 back request code, someone please share the solution to send an API request to thehive to detect if image is generated by AI, I am working in PHP.
Thanks a lot.