!uaYUrKBueiKUurHliJ:matrix.org

Subscan Official

327 Members
9 Servers

Load older messages


SenderMessageTime
30 Sep 2021
@parachains:matrix.orgVladimir | Parachains.info 08:38:48
1 Oct 2021
@keegan:web3.foundationKeegan | W3F changed their display name from Keegan | W3F to Keegan | W3F - OOO.05:05:00
2 Oct 2021
@keegan:web3.foundationKeegan | W3F changed their display name from Keegan | W3F - OOO to Keegan | W3F.01:28:25
3 Oct 2021
@cbits:matrix.orgcbits joined the room.15:25:22
@cbits:matrix.orgcbitsKeep getting 400 Bad Request on my api calls: https://moonriver.api.subscan.io/api/scan/account/reward_slash body: { "row": 20, "page": 0, "address": "0x3c8e741c0a2Cb4b8d5cBB1ead482CFDF87FDd66F" }15:25:57
@cbits:matrix.orgcbits * Keep getting 400 Bad Request on my api calls: https://moonriver.api.subscan.io/api/scan/account/reward_slash body: { "row": 20, "page": 0, "address": "0x3c8e741c0a2Cb4b8d5cBB1ead482CFDF87FDd66F" } headers: Content-Type: application/json X-API-Key: mykey15:26:36
@cbits:matrix.orgcbits * Keep getting 400 Bad Request on my api calls: https://moonriver.api.subscan.io/api/scan/account/reward_slash body: { "row": 20, "page": 0, "address": "0x10a2F17d8150B76359e9CEd567FC348C71A74B46" } headers: Content-Type: application/json X-API-Key: mykey15:27:17
4 Oct 2021
@david:web3.foundationDavid changed their display name from David to David - ooo (sick).07:06:12
@flippinlovelife:matrix.orgBrie changed their profile picture.17:06:00
@parachains:matrix.orgVladimir | Parachains.info set their display name to Vladimir | Parachains.info.22:39:49
5 Oct 2021
@david:web3.foundationDavid changed their display name from David - ooo (sick) to David.06:37:13
6 Oct 2021
@thom_ivy:matrix.orgThom Ivy | Edgeware changed their profile picture.18:12:15
7 Oct 2021
@cbits:matrix.orgcbits
In reply to @cbits:matrix.org
Keep getting 400 Bad Request on my api calls:
https://moonriver.api.subscan.io/api/scan/account/reward_slash
body:
{
"row": 20,
"page": 0,
"address": "0x10a2F17d8150B76359e9CEd567FC348C71A74B46"
}
headers:
Content-Type: application/json
X-API-Key: mykey
No one else is experiencing this?
11:03:28
@dominik_89:matrix.orgdom | Interlay left the room.12:04:37
8 Oct 2021
@yakio:matrix.orgYakio | Subscan changed their display name from Yakio | Subscan [OOO - October. 8] to Yakio | Subscan.02:57:09
@wi1dcard_dev:matrix.orgWay Sun
In reply to @cbits:matrix.org
No one else is experiencing this?
Hi, would you please share the full response of the API call?
03:07:14
9 Oct 2021
@cbits:matrix.orgcbitsRedacted or Malformed Event22:07:20
@cbits:matrix.orgcbits
In reply to @wi1dcard_dev:matrix.org
Hi, would you please share the full response of the API call?
<html><head> <title>400 Bad Request</title> </head><body> <center> <h1>400 Bad Request</h1> </center> <hr> <center>cloudflare</center> </body></html>
22:07:31
@wi1dcard_dev:matrix.orgWay Sun
In reply to @cbits:matrix.org
<html><head> <title>400 Bad Request</title> </head><body> <center> <h1>400 Bad Request</h1> </center> <hr> <center>cloudflare</center> </body></html>
Well, it seems that you might have a malformed header or request body. Would you like to share a code snippet to reproduce the issue?
22:10:38
@cbits:matrix.orgcbits
In reply to @wi1dcard_dev:matrix.org
Well, it seems that you might have a malformed header or request body. Would you like to share a code snippet to reproduce the issue?
Here's cURL of my request, i've removed my api key
curl --location --request POST 'https://moonriver.api.subscan.io/api/scan/account/reward_slash'
--header 'x-api-key: xxxxxxxxx'
--header 'Content-Type: application/json'
--data-raw '{
"row": 20,
"page": 0,
"address": "0x10a2F17d8150B76359e9CEd567FC348C71A74B46"
}'
22:12:42
@cbits:matrix.orgcbitsRedacted or Malformed Event22:13:04
@cbits:matrix.orgcbits
In reply to @cbits:matrix.org
Here's cURL of my request, i've removed my api key
curl --location --request POST 'https://moonriver.api.subscan.io/api/scan/account/reward_slash'
--header 'x-api-key: xxxxxxxxx'
--header 'Content-Type: application/json'
--data-raw '{
"row": 20,
"page": 0,
"address": "0x10a2F17d8150B76359e9CEd567FC348C71A74B46"
}'
I'm just testing in postman right now
22:13:20
@wi1dcard_dev:matrix.orgWay SunOh I see that helps a lot let me check out22:13:53
@wi1dcard_dev:matrix.orgWay Sun

I can't seem to reproduce, would you try the curl command at your end? (I modified a bit in order to make it execute correctly)

curl --location --request POST 'https://moonriver.api.subscan.io/api/scan/account/reward_slash' \
  --header 'x-api-key: xxxxxxxxx' \
  --header 'Content-Type: application/json' \
  --data-raw '{
    "row": 20,
    "page": 0,
    "address": "0x10a2F17d8150B76359e9CEd567FC348C71A74B46"
  }'
22:19:37
@wi1dcard_dev:matrix.orgWay Sunimage.png
Download image.png
22:20:37
@wi1dcard_dev:matrix.orgWay SunIf that still not working, you might need to DM me and provide your IP address where you sends the requests, I'll have to look into the logs to try determine why22:21:41
@cbits:matrix.orgcbits ok, looks to be an issue w/ postman for me then, it is working with the curl command. I'll figure it out. Thanks Way Sun !!! 22:26:09
@wi1dcard_dev:matrix.orgWay Sun
In reply to @cbits:matrix.org
ok, looks to be an issue w/ postman for me then, it is working with the curl command. I'll figure it out. Thanks Way Sun !!!
You are welcome! Maybe you can try export the curl command in Postman which allows you see the plain and raw requests you sent. That's sometimes helpful locating the minor issues in the requests :)
22:29:48
11 Oct 2021
@peterblockman:matrix.orgPeter Blockman joined the room.00:56:29
@peterblockman:matrix.orgPeter BlockmanScreen Shot 2021-10-11 at 9.59.10 AM.png
Download Screen Shot 2021-10-11 at 9.59.10 AM.png
00:59:46

Show newer messages


Back to Room ListRoom Version: 5