You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting errors with attaching a file and body with the multi-dimensional array. I want to send multi-dimensional array with attachments files (with attachment field).
Same issue was opened before but closed without solution.
attachments must upload the entire payload as multipart/form-data content-type and want to specify each parameter as form-data together with attachments[] as files.
Description:
I am getting errors with attaching a file and body with the multi-dimensional array. I want to send multi-dimensional array with attachments files (with attachment field).
Same issue was opened before but closed without solution.
#37174
Steps To Reproduce:
NOT WORKING
use Illuminate\Support\Facades\Http;
use Illuminate\Support\Facades\File;
$path = storage_path('file.txt');
with throw InvalidArgumentException with message 'A 'contents' key is required'
whereas will be just fine
WORKING
The text was updated successfully, but these errors were encountered: