I am struggling to get this request to work. I believe the issue is the authentication code that needs to be transmitted in the header. I tried setting it as a value in the authorization header field but I keep getting this error:
Error executing external web request: groovyx.net.http.HttpResponseException: Unauthorized
This is the cURL request that I know works:
curl -X POST
‘https://dev.sighthoundapi.com/v1/detections?type=face%2Cperson&faceOption=landmark%2Cgender’ \
-H ‘x-access-token: BYus**********Qw6BzTw6eQ’
-d '{“image”: "https://.com/image.jpg"}’