--
You received this message because you are subscribed to the Google Groups "checkvist-api" group.
To unsubscribe from this group and stop receiving emails from it, send an email to checkvist-ap...@googlegroups.com.
To post to this group, send email to checkv...@googlegroups.com.
Visit this group at http://groups.google.com/group/checkvist-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Hello,The following code should work for the login to beta.checkvist.com (jQuery):$.ajax({type: "POST",url: "https:" + app.config.api_url + "/auth/login.json",data: {username: username, remote_key: password}}).done(function (auth_token) {// process auth_token});Hope, this helps.Regards,KIR
On 7 June 2013 14:47, Kyaw Tun <kya...@yathit.com> wrote:
Hi!Sorry, I am new to basic authentication. I am not able to login using curl or XMLHttpRequest.I CORS login request, i receive 401 for wrong password. For correct password, not reply with error with 'Origin not allow'
curl -D - http://***:kyawtun%40yathit.c...@beta.checkvist.com/auth/login.json
--
You received this message because you are subscribed to the Google Groups "checkvist-api" group.
To unsubscribe from this group and stop receiving emails from it, send an email to checkvist-ap...@googlegroups.com.
To post to this group, send email to checkv...@googlegroups.com.
Visit this group at http://groups.google.com/group/checkvist-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "checkvist-api" group.
To unsubscribe from this group and stop receiving emails from it, send an email to checkvist-ap...@googlegroups.com.
To post to this group, send email to checkv...@googlegroups.com.
Visit this group at http://groups.google.com/group/checkvist-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Hello Kyaw,Sorry for a delay with answer.I've made an update of the http://beta.checkvist.com site recently, but my own code works without any issues with it.Both login and getting lists call work as expected. I do the XHR calls with jQuery/ajax.
Both login and getting lists call work as expected. I do the XHR calls with jQuery/ajax.Does your app hosted in cross domain or /beta.checkvist.com itself? Is it working in Chrome?