Question

How to use HTTPCaller to upload a file?

  • 9 January 2023
  • 2 replies
  • 30 views

New to the API world. I am trying to use HTTPCaller to auto-attach a pdf file as a response.

I managed to use HTTPCaller to get all requests and auto-generate a response. However, I am unsure how to physically upload the file through the POST method.

Here is the link to the API document: Enquiries API (1100.com.au)

My HTTPCaller parameters:

imageI keep getting: "HTTPCaller_4 (HTTPFactory): [1]: HTTP transfer error: Stream error in the HTTP/2 framing layer" error code.

 

 


2 replies

Badge +3

Have you ever used Postman app or web application? whether it was successful or not

Debug with Telerik Fiddler. you will get The precise url string to upload the files.

Have you ever used Postman app or web application? whether it was successful or not

Debug with Telerik Fiddler. you will get The precise url string to upload the files.

No, I haven't, I will give it a try. I think I get confused with the "Files" array and the actual reply I want to upload. After converting pdf to HTML code and packaging it into JSON, all works. Thank you.

Reply