I tried to send a api call witht his sdk, i provide correcte secret and access key. but it always return an sign invalid error. Here the example of the code
const result = await client.request({
method: 'post',
path: `/v1.0/iot-03/devices/${deviceID}/commands`,
body: {
device_id: deviceID,
commands: [{
code: 'switch_led',
value: value,
}]
}
});
I tried to send a api call witht his sdk, i provide correcte secret and access key. but it always return an sign invalid error. Here the example of the code