Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

API will be blocked by Chrome

An May 18, 2017 02:08AM +03

Hello
i start to use your API Guide (http://docs.searchly.com/documentation/developer-api-guide/) in recent Chrome (v58) but it says in console

[Deprecation] Subresource requests whose URLs contain embedded credentials (e.g. `https://user:pass@host/`) are deprecated, and will be blocked in M59, around June 2017. See https://www.chromestatus.com/feature/5669008342777856 for more details.

do you know how to fix ?

thanks

Up 0 rated Down
Ferhat Sobay May 18, 2017 02:07PM +03 Searchly Agent
Hi,

How do you interact with api ? Using client side JS ?

Best,
Ferhat
Up 0 rated Down
An May 20, 2017 02:14AM +03
Yes, it is client side ajax
it's OK now, i just need to encode
FYI
beforeSend: function(xhr){
xhr.setRequestHeader("Authorization",
"Basic " + btoa(userName +":" + userPass));
}

thanks for support

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)
support@searchly.com
http://assets1.desk.com/
false
searchboxio
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete