Hi all,
I’m facing an issue in sending API call POST request. I’m using Azure form recogniser here, i want to post my PDF to azure custom model using API call then i need to retrieve the output using another GET - API call. The challenge here i’m facing is unable to post my PDF in HTTP request. I’m using HTTP Request Activity to do this.
Hi @ppr i have a custom model in azure form recognizer to extract invoice data. First i need to send my local PDF file to Azure - This is my first HTTP request call i need to do.
Header i used – “application/json”
@Anil_G here i’m trying to eliminate blob storage, using blob storage my code is working fine. Now instead of Blob storage i want to use local storage. I want Send a POST request attaching my local file in HTTP request
I would suggest first try to execute the api request using postman and then use the same properties in UiPath request.That way you can see what is the error that you are getting.
And does the api request support attaching files? do you know that? or it required a blob location as input always?
Perfect that means your api request itself is wrong…please check the official documentation of what api you are using and correct that first
As Per error I see it is expecting a url itself or a base64 encoded i believe or the parameter for passing the file is different or the api request itself is different which you can get details from the api documentation iteself