Error while sending pdf file in Post method of http rest api

I need to send pdf file through rest api request, i tried to use the below code to upload it mentioned in

and this is my code in the invoke code activity

Dim client As RestClient = New RestClient("https://xxcccc")
client.Timeout = -1
Dim request As RestRequest = New RestRequest(Method.POST)
request.AddHeader("Authorization", "token key")
request.AddHeader("Content-Type", "application/octet-stream")
request.AddHeader("Content-Disposition", "form-data")
request.AddParameter("filename", "Rechnung201Redacted.pdf")
request.AddFile("file", "C:\Users\DE118723\Documents\UiPath\UiPath DocDigitizer API\Rechnung201Redacted.pdf")
Dim response As IRestResponse = client.Execute(request)
Console.WriteLine(response.Content)

can you please tell what can be the issue over here, its not working