Hello everyone. As part of a corporate RPA project, I need to translate documents using the DEEPL API.
So I added the YAML file as a service in a Library.
So I get the requests in the form of activity, including this one which aims to upload a document :
In the request, I have to load my file to be translated:
However, in my activity, I am asked for a variable of type “FileParameters”
Can you help me understand what this variable is, because at the moment I haven’t succeeded and I have no idea what it could be…
Thanks a lot !
Anil_G
(Anil Gorthi)
August 31, 2023, 6:08pm
2
@DimitriLYR
In postman how do you add it?
Rather it looks for the filepath or the actual file…did you try giving the pth?
Alternately you can try converting to bytes and give it
arrBytes = File.ReadAllBytes (FullFilePath);
Cheers
DimitriLYR
(DimitriLYR)
September 1, 2023, 7:43am
3
Hello Anil, I tried the conversion, it does not work. So I focused on the HTTP Request activities instead of the library. It works. Thank you for your reply.
1 Like
system
(system)
Closed
September 4, 2023, 7:44am
4
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.