Curl request equivalent in VB.NET - API

I need to call a API to upload a file. Below is the Curl sample given.

-F query=‘mutation ($file: File!) { add_file_to_column(file: $file, item_id: 118607269, column_id: “files”) { id } }’
-F variables[file]=@/Users/diprobhowmik/screenshots/image.png
-H “Authorization: APIKEYHERE”

I need to convert it to VB.NET. I’m having problems when attaching file.

Thanks in advance

Hey @issac - welcome to the community.

The main thing to keep in mind when uploading a file to the API is you’ll need to do this as a multi-part upload. Are you trying to upload a file that is stored locally on the machine you’re using?