Undefined property: stdClass::$analyzeResult
Unknown
1
Reputation point
I'm trying to pass the result id I got from POST method to the get method. It works fine when I just copy-pasted the whole id into the URL
"https://southeastasia.api.cognitive.microsoft.com/formrecognizer/v2.1/prebuilt/receipt/analyzeResults/3ad62c27-ceeb-45f3-b89f-f2280644d2bf"
in GET method but when I try to put into a variable from POST and pass it to GET method like this
"https://southeastasia.api.cognitive.microsoft.com/formrecognizer/v2.1/prebuilt/receipt/analyzeResults/".$result_id
it shows
fyi $result_id comes from POST method
global $result_id;
$result_id = $response->getHeader()['apim-request-id'];
Undefined property: stdClass::$analyzeResult
Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
2,100 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,602 questions
Sign in to answer