request api

cucaibap

New Member
Premium
Joined
Feb 1, 2020
Messages
13
Reaction score
0
Achievement
dùng chức năng custom proxy từ api tinsoft mà mĩa không dược, ai có đoạn scrip nào chạy được không share mình với
 

cucaibap

New Member
Premium
Joined
Feb 1, 2020
Messages
13
Reaction score
0
Achievement
@daniel có cách nào gắn được key api proxy tinsoft được vào custum proxy không a
 

daniel

Administrator
Staff member
VIP
Joined
Feb 23, 2018
Messages
268
Reaction score
36
Achievement
@daniel có cách nào gắn được key api proxy tinsoft được vào custum proxy không a
Bạn dùng code này nhé

JavaScript:
const tinsoftApiKey = "THAY_API_KEY_VAO_DAY";
HttpRequest(`https://proxy.tinsoftsv.com/api/changeProxy.php?key=${tinsoftApiKey}&location=0`)
.then(json => {
    if(json.success) SetProxy ({ProxyType: "http", ProxyAddress: json.proxy});
    else {
        SetError (json.description);
    }
})
 

Lypham01

New Member
VIP
Joined
May 21, 2020
Messages
2
Reaction score
0
Achievement
@daniel mình muốn dùng nhiều key cho từng thread, và 1 key dùng cho nhiều thread
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu