all repos — honk @ c757b40b2e5b7368d7bd7c2269d02a619e8e8555

my fork of honk

u
Anirudh Oppiliappan x@icyphox.sh
Mon, 13 Mar 2023 00:39:05 +0530
commit

c757b40b2e5b7368d7bd7c2269d02a619e8e8555

parent

22c10e0bbc0c2135b57fd2e1ac96c9074350cc8e

1 files changed, 10 insertions(+), 0 deletions(-)

jump to
M masto.gomasto.go

@@ -11,6 +11,16 @@ elog.Printf("oauthorize: bad junk: %v", j)

http.Error(rw, "oauthorize: bad junk", http.StatusBadRequest) } +func apiapps(rw http.ResponseWriter, r *http.Request) { + j, err := junk.Read(r.Body) + if err != nil { + badjunk(rw, j) + } + + dlog.Println(j) + +} + func oauthorize(rw http.ResponseWriter, r *http.Request) { j, err := junk.Read(r.Body) if err != nil {