Curl upload

Hello
I was trying to upload a file while creating my object documentation (it contains the arg file upload )
I used this curl to test :
curl -X POST http://localhost:4100/gql/graphiql -H ‘content-type: application/json’ -F ‘query=mutation {createDocumentation(name:“test”,link:“test”,file: “toto_file”) {id name}}’ -F 'toto_file=@toto.yml ’
but it returns a bad request !
do you have any idea ? does anyone deal with mutation creation and upload at the same time ?
thank you very much