6. File Uploads | Building GraphQL API with Laravel

preview_player
Показать описание
So have you heard this too? GraphQL does not have a very stellar file upload. Let's bust this myth in this video. You will see that not only it is extremely easy. It is something quite close to what you are used to.

Command to test upload file:
curl localhost/graphql \
-F operations='{ "query": "mutation ($id: ID!, $file: Upload!) { uploadSpeakerPhoto(id: $id, photo: $file){name} }", "variables": { "id": "1", "file": null } }' \

Рекомендации по теме
Комментарии
Автор

if possible upload higher video quality, 1080p will do. ty

alnivcasts
Автор

great work,
please slow down the background music little bit,

imransultan
join shbcf.ru