POST file upload using URLRequest

前端 未结 1 1382
不思量自难忘°
不思量自难忘° 2020-12-17 01:04

I have a quick question regarding POST file uploads in ActionScript 3. I am trying to upload a ByteArray from memory via POST to a server. I\'m using the URLRequest class to

相关标签:
1条回答
  • 2020-12-17 01:58

    You should add more info to the "Content-Type" header:

    uploadRequest.contentType = "multipart/form-data; boundary=<<boundary here>>";
    

    Check example here

    0 讨论(0)
提交回复
热议问题