1, i try to call xhr.open("GET", 
"https://api.weibo.com/2/short_url/shorten.json?source=3599790545&url_long=http%3A%2F%2Fopen.weibo.com%2Fwiki%2F2%2Fshort_url%2Fshorten";)
 but failed, but i can open this link in google chrome browser.
2, when i try to call xhr.setRequestHeader("Content-Type", "application/json"), 
an error is throwed out : Error: Invalid state

looking forward for your reply !
thanks advance !

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to