Skip to content

Instantly share code, notes, and snippets.

View davidswelt's full-sized avatar

David Reitter davidswelt

  • Google
  • New York, NY
View GitHub Profile
@davidswelt
davidswelt / nfsn.api.sh
Last active March 3, 2019 01:49 — forked from nmschulte/nfsn.api.sh
NearlyFreeSpeech.NET API request "library", in pure shell (requires sha1sum and curl)
#!/usr/bin/env sh
# Copyright (c) 2015 Nathan Schulte
# set LOGIN and API_KEY below --
# see bottom for example use, in this case, checking and updating the default DNS A RR for a domain
# 0: request URI, e.g. '/dns/example.com/listRRs'
# 1..n: parameters
make_request () {
LOGIN=''