Получить хорошо известный ресурс, защищенный с помощью OAuth
/.well-known/oauth-protected-resourceGET /.well-known/oauth-protected-resource
Способ запроса
GEThttps://api.stableproxy.com/v2/.well-known/oauth-protected-resource
Примеры кода
1const baseUrl = "https://api.stableproxy.com/v2";2const response = await fetch(baseUrl + "/.well-known/oauth-protected-resource", {3 method: "GET",4 headers: {5 "Content-Type": "application/json"6 }7});8const data = await response.json();