Yandex enterprise api key is restricted but

Yandex enterprise api key is restricted but i am able to download geocode data from this url: https://enterprise.api-maps.yandex.ru/2.1/?apikey= your api key

but if i try this:

GET /services/search//v2/?callback=id_16051665902586238184&text=%D0%9F%D0%B5%D1%82%D1%80%D0%BE%D0%B7%D0%B0%D0%B2%D0%BE%D0%B4%D1%81%D0%BA&format=json&rspn=0&lang=ru_RU&token=eeb73bf2f9e65f8e0268e3f06cb3851f&type=geo&properties=addressdetails&geocoder_sco=latlong&origin=jsapi2Geocoder&apikey=YOURAPIKEY HTTP/1.1 Host: enterprise.api-maps.yandex.ru User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0 Accept: / Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Connection: close Referer: https://www.yourdomain.com

IF I REMOVE REFRER FROM HERE MAP DONT LOAD.

so if my key is restricted why is it downloading geocode data in json via that api link???


Ответы (0 шт):