"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Authorization in VWS: many questions

VWS is incredibly hard to use right now, mainly because there is a serious lack of useful documentation.

I am struggling to call VWS from javascript, trying to add a target to a cloud database.  Specific questions:

 

1.  Do I need to include "HTTP/1.1" as shown in https://developer.vuforia.com/resources/dev-guide/adding-target-cloud-database-api?

2.  If so, is it part of the Request-Path, or the HTTP-Verb in StringToSign as documented in https://developer.vuforia.com/resources/dev-guide/setting-api

3.  It seems that if I include "HTTP/1.1" then I get a 505 error - saying that the version of HTTP is not supported.

4.  If I do not include "HTTP/1.1" then I get error code 401 - the tremendously helpful "AuthenticationFailure".

5.  Given the involved nature of this Auth process, is there any debugging help?  Anyway to get more info than just the 401?

6.  I've read numerous forum posts which point to the .java sample code.  Unforuntately, this isn't very useful to me.  It seems to import obsolete libraries.  Before I spend hours working on tracking down libraries, and learning how to set up and debug java (new to me) isn't there any example of doing this in javascript?

Thanks in advance.  I've already spent a lot of time trying to make this work.  Any and all help is appreciated.

 

DavidBeard

Sat, 03/02/2013 - 01:02

It will helpful to know how you are using Javascript, which libraries and what context. For example, are you using XMLHttpRequest, or jQuery , or some other approach.