Created
November 27, 2019 07:42
-
-
Save crescentrose/fd4d31d523c81716467028bd426e7678 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
posta() { | |
curl -XPOST "https://www.posta.hr/chrome.aspx?vrsta=1&query=$1" \ | |
-H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36' \ | |
--silent | jq | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment