Skip to content

Instantly share code, notes, and snippets.

@Terryhung
Terryhung / api test
Created September 22, 2021 17:04
api test
curl -X POST \
https://enurl.app/v1/anon_shorten \
-H 'Accept: */*' \
-H 'Cache-Control: no-cache' \
-H 'Connection: keep-alive' \
-H 'Content-Type: application/json' \
-H 'Host: enurl.app' \
-H 'Postman-Token: fee2d748-ebe7-46d7-a2bd-0189567bb524,48e1c73d-c1b3-4eb4-a006-3692a27f9fa8' \
-H 'User-Agent: PostmanRuntime/7.15.0' \
-H 'accept-encoding: gzip, deflate' \
server:
http_listen_address: 0.0.0.0
http_listen_port: 9080
positions:
filename: /tmp/positions.yaml
clients:
- url: url