Hi Dimitri,
I forgot about something: I think you should use advanced flow to be able to use the response & status code tag in a timeline card
After lots of trial and error, I got it working with an image_url:
https://api-us.faceplusplus.com/humanbodypp/v2/segment?api_key=mykey&api_secret=mysecret&image_url=https://i.scdn.co/image/ab67616d0000b2736c9edead25c8dfda97e778ab
.
And you´d use these headers for local image file upload:
Content-Type: multipart/form-data
But I still get errors when I want to use a local image file, I give up on that one
(I’m aware of the
Image Requirements
Format : JPG (JPEG), PNG
Size : between 48*48 and 1280*1280 (pixels)
File size : max 2MB
)