Why do I still get error code 400 from this API request to Coinbase Pro?
问题 I've followed the instructions on the Coinbase Pro developers page for authentication with API Key and no matter what I try I always get error code 400 using CryptoJS and React / React Native. https://docs.pro.coinbase.com/#api-key-permissions import CryptoJS from 'crypto-js'; import axios from 'axios'; import { Buffer } from 'buffer'; const key = '<removed'; const secret = '<removed>'; const passphrase = '<removed>'; const method = 'GET'; const uri = 'https://api.pro.coinbase.com/accounts';