Created
January 16, 2024 07:49
-
-
Save mwik/68533a3b3b140a77f1c086d4b4a6e6cb to your computer and use it in GitHub Desktop.
Hur många heter?
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 | |
name=$1 | |
curl -s 'https://www.skatteverket.se/hurmangaheter-bff/HurmangaheterClientServices/forfragan' -X POST -H 'Accept: application/json' -H 'Content-Type: application/json' -H 'Origin: https://www.skatteverket.se' --data-raw "{\"input\":\"$1\"}" | jq '.antalFornamn,.antalEfternamn' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment