mirror of
https://github.com/EDCD/EDDN.git
synced 2025-04-28 14:12:13 +03:00
These are what I was using on my home server to test the prior code changes to how the Gateway code reports errors. Ultimately these should become a part of proper tests, but for now they're at least in the repository for anyone to utilise.
7 lines
278 B
Bash
7 lines
278 B
Bash
#!/bin/sh
|
|
#
|
|
# python `requests` appears to perform compression when you set the
|
|
# 'Content-Encoding: gzip' header, so do this with curl.
|
|
|
|
curl --verbose -d 'wegiuweuygtfawgep9aqe8fpq2387lfbr;iufvypq38764tpgf' -H 'Content-Encoding: gzip' 'https://beta.eddn.edcd.io:4431/upload/'
|