I have tried another way to solve it...
create link with URL_Object_Store and pass both "Link" and "URL_Object_Store" in URL, and pass file (bytes array) in body part, to the object storage API of HP.
The object is created now.then pass that created object's link to Face detection API