- or download this
key="YOUR_API_KEY"
secret="YOUR_API_SECRET"
...
full_url="$host$prefix$url"
curl -X $method $full_url -d "$body_param" -H "Content-Type: applicati
+on/json" \
-H "Timestamp: $timestamp" -H "KEY: $key" -H "SIGN: $sign"
- or download this
#!/usr/bin/perl
...
print "HTTP POST error message: ", $response->message, "\n";
}
- or download this
timestamp=$(date +%s)
- or download this
my $time = time;
my $timestamp = strftime("%Y%m%d %S", localtime($time));
# prints example 20240924 55