Skip to content

Instantly share code, notes, and snippets.

View CanKattwinkel's full-sized avatar

Can Kattwinkel CanKattwinkel

View GitHub Profile
@CanKattwinkel
CanKattwinkel / pre-request-KuCoin.js
Created August 6, 2020 12:02
Kucoin: Pre-Request Script for Postman
// Use this to sign postman http requests to the KuCoin API
// dont forget to set KC-API-KEY as well as KC-API-PASSPHRASE as headers and to replace the secret used below.
const timestamp = Date.now();
const body = request.body ? request.body : '';
const method = request.method;
const [, endpoint] = request.url.split('https://api.kucoin.com');
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: postgres
spec:
replicas: 1
template:
metadata:
labels:
app: postgres