REST API responses are all "Checking if the site connection is secure"

Hi, i’m working through updating my REST API client written in Rust and so far every GET request is met with the same HTML response, that when i save and open in browser i get:

I tried with and without VPN, made no difference.

I’m no good with rust, but calling

api.coinbase.com//api/v3/brokerage/orders
instead of
api.coinbase.com/api/v3/brokerage/orders
(note the extra / after .com)

returns the cloudflare thing. I made the same mistake because I split the URL for signing, so when I concatenated the two strings I totally missed the extra /.

base_url = api.coinbase.com/
endpoint = /api/v3/brokerage/orders
full_url = base_url + endpoint

That’s the first place I would check

That was it :laughing:

Thanks!

1 Like