-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Closed
Description
There seems to be 2 issues:
- The content is incorrect. Stringified PHP
resourceis included instead of the actual content of the file. - There is missing
filenamefield inContent-Dispositionheader.
This is relevant part of the request by generated API. I have provided an instance of SplFileObject as an input for file field.
--boundary
Content-Disposition: form-data; name="file"
Resource id #202
The request should have been something like this looks like this.
--boundary
Content-Disposition: form-data; name="file"; filename="filename.txt"
[Actual content of the file not the stringified resource]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels