Sending file with API

I tried to create this header:

$headers = array('Authorization: Bearer '.$arIntegration->AsanaBearer.'', 'Content-Type: multipart/form-data; boundary=13242', 'User-Agent: Java/1.7.0_76', 'Host: localhost', 'Accept: */*', 'Connection: keep-alive', 'Content-Length: 141');

But when I run the code it’s takes a while and nothing happens or timeout…