Сообщение об ошибке:
Файл не загружен для обработки
Мой код:
client = New RestClient("https://aiservices-trial-dox.cfapps.eu10.hana.ondemand.com/document-
information-extraction/v1/document/jobs?clientId=........")
client.Timeout = -1
request = New RestRequest(Method.POST)
request.AddHeader("Authorization", "Bearer " + accessToken)
request.AddHeader("Content-Type", "application/pdf")
request.AddFile("Testfile", FilePath + "\" + FileName)
request.AddParameter("options", "{.....}")
response = client.Execute(request)