Pobierz dobrze znany zasób chroniony protokołem OAuth
/.well-known/oauth-protected-resourceGET /.well-known/oauth-protected-resource
Metoda zapytania
GEThttps://api.stableproxy.com/v2/.well-known/oauth-protected-resource
Przykłady kodu
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();