ribbit/endpoints_api.go
2018-04-26 06:53:03 -05:00

17 lines
250 B
Go

package main
import (
"fmt"
"net/http"
"github.com/gorilla/mux"
)
func handleApiCall(w http.ResponseWriter, req *http.Request) {
w.Header().Set("Content-Type", "application/json")
vars := mux.Vars(req)
_ = vars
fmt.Fprint(w, req.Header)
}