all repos — honk @ b5a703b65e85fa57d6fee77999795b7cef92825d

my fork of honk

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

b5a703b65e85fa57d6fee77999795b7cef92825d

parent

d689276341f5e37c67c6c47b401b7acf36bfa1cc

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 {