https://binance-docs.github.io/apidocs/futures/en/#change-initial-leverage-trade
This api currently is giving me status code 404 and Resource not found.
The following is the curl output from testnet
"""
HTTP/2 404
content-type: text/html; charset=utf-8
content-length: 53
date: Sat, 28 May 2022 13:58:18 GMT
server: Bengine
vary: Accept-Encoding
x-response-time: 0ms
access-control-allow-origin: *
access-control-allow-methods: GET, POST, PUT, DELETE, OPTIONS
x-cache: Error from cloudfront
via: 1.1 82fc5ce5b0ff4795ce7c9a3b401a67d6.cloudfront.net (CloudFront)
x-amz-cf-pop: KUL50-C2
x-amz-cf-id: WT8m15-wc-AHorFul-nOgkvfrmu0qoBdAi3m80lresb3rMM1jNFpgw==
<html><body><h1>Resource not found</h1></body></html>
"""
error from live
"""
HTTP/2 404
content-type: text/html
content-length: 1412
date: Sat, 28 May 2022 14:18:48 GMT
server: Tengine
vary: Accept-Encoding
etag: "5f03e720-584"
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
referrer-policy: origin-when-cross-origin
strict-transport-security: max-age=31536000; includeSubdomains
x-cache: Error from cloudfront
via: 1.1 92a512373fe3177364cf84d08b5b7f92.cloudfront.net (CloudFront)
x-amz-cf-pop: KUL50-C1
x-amz-cf-id: rLOg9VMsMDlDPaxiiNhY_Dw5OHdZf14VcpKCWGfql2YJ23bsbNTREw==
<!DOCTYPE html>
<!-- saved from url=(0032)https://www.binance.com/en/error -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="format-detection" content="telephone=no,email=no,address=no">
<title>Binance</title>
<link rel="Shortcut Icon" href="https://www.binance.com/en/favicon.ico">
<style>
body {
margin: 0
}
.img {
width: 611px;
margin: 68px auto 0
}
.info {
width: 370px;
margin: 0 auto;
text-align: center;
font-family: Arial;
}
.info h3 {
margin: 0;
font-size: 25px;
color: #333;
font-weight: normal;
}
.info p {
font-size: 14px;
font-family: Arial;
color: #333;
line-height: 18px;
margin: 0
}
.info button {
margin-top: 20px;
width: 231px;
height: 34px;
background: #FFFFFF;
border: 1px solid #F0B90B;
box-sizing: border-box;
border-radius: 3px;
font-size: 14px;
line-height: 16px;
color: #F0B90B;
}
</style>
</head>
<body>
<div class="img"><img alt="" src="/errorPages/404.jpg"></div>
<div class="info">
<h3>出错啦!您访问的网页不存在。</h3>
<p>Sorry! The page you’re looking for cannot be found.</p>
<a href="/">
<button>Return to Binance home page</button>
</a>
</div>
</body>
</html>