more masto testing
Anirudh Oppiliappan x@icyphox.sh
Sun, 24 Sep 2023 10:32:24 +0300
1 files changed,
4 insertions(+),
2 deletions(-)
jump to
M
masto.go
→
masto.go
@@ -15,7 +15,7 @@ }
// https://docs.joinmastodon.org/methods/apps/#create func apiapps(rw http.ResponseWriter, r *http.Request) { - + dlog.Println(r.URL.String) dlog.Println(r.URL.RawQuery) if err := r.ParseForm(); err != nil { http.Error(rw, "invalid input", http.StatusUnprocessableEntity)@@ -55,11 +55,13 @@ }
// https://docs.joinmastodon.org/methods/oauth/#authorize func oauthorize(rw http.ResponseWriter, r *http.Request) { - dlog.Println(r.URL.RawQuery) + dlog.Println("oauthorizing!") + dlog.Println(r.URL.String) } // https://docs.joinmastodon.org/methods/instance/#v2 func instance(rw http.ResponseWriter, r *http.Request) { + dlog.Println(r.URL.String) j := junk.New() var servername string