Deeple API

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”

image

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 !

@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

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

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.