Visual Basic para Aplicaciones - Excel - VBA - CURL - WinHttpRequest

Life is soft - evento anual de software empresarial
 
Vista:

Excel - VBA - CURL - WinHttpRequest

Publicado por Alejandro (1 intervención) el 24/01/2022 18:04:17
Hola soy nuevo y tengo poco conocimiento en este tema

yo necesito enviar este comando desde VBA y obtener respuesta con json

yo pienso que se puede hacer con WinHttpRequest pero no conozco bien

nota: remueve el "_" despues de https:

CURL -H "X-MBX-APIKEY: dbefbc809e3e83c283a984c3a1459732ea7db1360ca80c5c2c8867408d28cc83" -X POST "https:_//fapi/binance.com/fapi/v1/order?symbol=BTCUSDT&side=BUY&type=LIMIT&quantity=1&price=9000&timeInForce=GTC&recvWindow=5000&timestamp=1591702613943&signature= 3c661234138461fcc7a7d8746c6558c9842d4e10870d2ecbedf7777cad694af9"




Hello I am new and I have little knowledge in this topic

I need to send this command from VBA. if someone could help me i would really appreciate it

I think it can be done with WinHttpRequest but I don't know how to do it

Note: remove the "_" after https:

CURL -H "X-MBX-APIKEY: dbefbc809e3e83c283a984c3a1459732ea7db1360ca80c5c2c8867408d28cc83" -X POST "https:_//fapi/binance.com/fapi/v1/order?symbol=BTCUSDT&side=BUY&type=LIMIT&quantity=1&price=9000&timeInForce=GTC&recvWindow=5000&timestamp=1591702613943&signature= 3c661234138461fcc7a7d8746c6558c9842d4e10870d2ecbedf7777cad694af9"
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder