Hi all,
I got the Java web service examples working with my cloud database, then added a new sample based on the existing ones to issue recognition queries to the web services API. I'm pretty sure I've understood the directions here:
https://library.vuforia.com/articles/Solution/How-To-Perform-an-Image-Recognition-Query
but my queries are failing with a 401. I've tried this both with hand-assembled curl commands and with my Java classes with the same result.
There's some ambiguity about whether to use the server or client key pairs so I tried both. I've also tried omitting the multi-part boundary from the content type in my signature generation, but always with the same result.
I'm hoping someone who has gotten this working can look at my Java classes and tell me where I've gone wrong, or provide a reference to a working example.
Thanks so much!
Attachment | Size |
---|---|
![]() | 3.3 KB |
Hi,
Ok, thank you for clarifying.
At this point in time we don't have samples that show how to query for Java, however we have them for python. Available under the same link.
Hope this provides some information on how to.
In addition I will raise the issue of "missing" query samples for Java with Product Management in order to be updated.
Thank you.
Vuforia Engine Support