File translation thru API using VBA

Hi All,

I want to translate a file using API and thru VBA. I could translate text. But in case of file translation, I am unable to pass the file name/path. 

Please guide me how to pass the input filename/path in the body of the API.

A sample VBA code will be useful.

Thanks,

gaurav

emoji