Closed enisgur closed 5 years ago
Authorization
not authorization
. And remember it should be sent as a base64-encoded string suffixed with a colon.
Key:
Buffer.from("your_api_key_value" + ":", "ascii").toString("base64")
Header:
Authorization: Basic ZmYzNzFiMDQ1MzA3OiRuR3dZVmRhQEBQRXJLQVVwRyNrSFEmWUExTClBKlgx
Thank you very much ! It works !
note: I changed the real values at bellow question
Getting output like this:
{ status: 401, time: 1540447809, message: 'API Key Required' }
I don't know what to do. I am trying other middle-wares(http post, https.post, request, superagent, axios, ..etc ) also but still getting same output. please help.
may I have a sample post request for : https://api-trade.opskins.com/ITrade/SendOffer/v1/
I have all the informations from opskin-api. Client_id, Secret Bearer token, Api Key, also I have 2 account with item to try to send offer each other to test. I know their uid, token, trade_url, twofactor_code .. etc.. but got stack here