API key changed
This commit is contained in:
parent
63bbd65cbe
commit
6b6a64e5cf
|
@ -64,7 +64,7 @@ export function BuyANumber() {
|
||||||
|
|
||||||
// Using a CORS proxy
|
// Using a CORS proxy
|
||||||
const corsProxy = "https://cors-anywhere.herokuapp.com/";
|
const corsProxy = "https://cors-anywhere.herokuapp.com/";
|
||||||
const apiUrl = `https://api.sms-activate.ae/stubs/handler_api.php?api_key=3e70A03f3dA6bfb2b32b2cc09Adb6841&action=getNumber&service=${selectedService}&operator=any&country=${selectedCountry}&maxPrice=0.2250`;
|
const apiUrl = `https://api.sms-activate.ae/stubs/handler_api.php?api_key=eA103094961490b3350620b1bdd57244&action=getNumber&service=${selectedService}&operator=any&country=${selectedCountry}&maxPrice=0.2250`;
|
||||||
// console.log(apiUrl);
|
// console.log(apiUrl);
|
||||||
|
|
||||||
await fetch(corsProxy + apiUrl, requestOptions)
|
await fetch(corsProxy + apiUrl, requestOptions)
|
||||||
|
|
|
@ -46,7 +46,7 @@ export function PhoneNumberList() {
|
||||||
};
|
};
|
||||||
|
|
||||||
const corsProxy = "https://cors-anywhere.herokuapp.com/";
|
const corsProxy = "https://cors-anywhere.herokuapp.com/";
|
||||||
const apiUrl = "https://api.sms-activate.ae/stubs/handler_api.php?api_key=3e70A03f3dA6bfb2b32b2cc09Adb6841&action=getActiveActivations";
|
const apiUrl = "https://api.sms-activate.ae/stubs/handler_api.php?api_key=eA103094961490b3350620b1bdd57244&action=getActiveActivations";
|
||||||
const response = await fetch(corsProxy + apiUrl, requestOptions)
|
const response = await fetch(corsProxy + apiUrl, requestOptions)
|
||||||
const data = await response.json()
|
const data = await response.json()
|
||||||
console.log(data)
|
console.log(data)
|
||||||
|
|
Loading…
Reference in a new issue