Unable to faucet account


#1

Hi.
I’m trying to faucet an account using REST API without success.
When I try to faucet I get the following output:

Invalid Arguments
Missing ‘address’ or ‘addresses’

The command that I am using is:

curl -X POST “http://35.193.152.176/strato-api/eth/v1.2/faucet” -H “accept: text/plain;charset=utf-8” -H “content-type: application/x-www-form-urlencoded” -d "“address=9748709d67215f3e1763e1c4f85cc88e0446f555"”

Could you please tell me what I am doing wrong?

Thank you.

Marcos Roberto Silva


#2

I managed to solve the problem removing the quotes for the data.
The call should be:
curl -X POST “http://35.193.152.176/strato-api/eth/v1.2/faucet” -H “accept: text/plain;charset=utf-8” -H “content-type: application/x-www-form-urlencoded” -d “address=9748709d67215f3e1763e1c4f85cc88e0446f555”

Thank you.

Marcos Roberto Silva


#3

Hi @marcos.silva3 - glad you got it working. Let me know if you’d like to schedule a call to discuss your app. My calendar is here.