Re: [Virtuoso-users] client javascript

2017-07-11 Thread Carlo Capelli
Kingsley, David thanks for your help. I must say that after CORs was enabled, I effectively can issue requests - after a 'manual login' - using a browser. It takes care of the WebID protocol. I'd like in future to learn about the login phase... but there are more compelling questions I must solve

Re: [Virtuoso-users] client javascript

2017-07-11 Thread Davis, Daniel (NIH/NLM) [C]
Carlo, Are you running in a browser or with nodejs? There are some minor differences. Here’s a tutorial for running in a browser: http://www.peej.co.uk/articles/http-auth-with-html-forms.html When you use jquery, you still need to use xhr methods: https://stackoverflow.com/questions/5507234/h