Passing byteArray update_with_media


#1

now i can post photo via my air app with a frenchman help.but now i have another issue.i pass photo by byteArray.so i must convert data to multipart/form-data to upload.but now i always got a 400 error. this is my data down below,anyone can tell me where is wrong?
–drdxaxfrnxidlxtpnevfacjpsjuhnvca

Content-Disposition: form-data; name=“status”

hello

–drdxaxfrnxidlxtpnevfacjpsjuhnvca

Content-Disposition: form-data; name=“Filename”

media.png

–drdxaxfrnxidlxtpnevfacjpsjuhnvca

Content-Disposition: form-data; name=“media[]”; filename=“media.png”

Content-Type: application/octet-stream

‰PNG

–drdxaxfrnxidlxtpnevfacjpsjuhnvca

Content-Disposition: form-data; name=“Upload”

Submit Query

–drdxaxfrnxidlxtpnevfacjpsjuhnvca–