func InsertClapsPostRequest(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {
	w.WriteHeader(http.StatusOK)

	err := r.ParseForm()
	if err != nil {
		panic(err)
	}

	userName := r.Form.Get("user_name")
	userID := r.Form.Get("user_id")
	modifiedText := createClapsOutput(string(r.Form.Get("text")))
	finalText := fmt.Sprintf("<@%s|%s> said: %s", userID, userName, modifiedText)
	url := r.Form.Get("response_url")
	writeJSONToResponseURL(finalText, url)
}
//InsertClapsPostRequest - POST request for InsertClaps
POST request for InsertClaps
// InsertClapsPostRequest - POST request for InsertClaps
func InsertClapsPostRequest(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {
	w.WriteHeader(http.StatusOK)
	err := r.ParseForm()
	if err != nil {
		panic(err)
	}
	userName := r.Form.Get("user_name")
	userID := r.Form.Get("user_id")
	modifiedText := createClapsOutput(string(r.Form.Get("text")))
	finalText := fmt.Sprintf("<@%s|%s> said: %s", userID, userName, modifiedText)
	url := r.Form.Get("response_url")
	writeJSONToResponseURL(finalText, url)
}
func InsertClapsPostRequest ( w http . ResponseWriter , r * http . Request , ps httprouter . Params ) { w . WriteHeader ( http . StatusOK ) err := r . ParseForm ( ) if err != nil { panic ( err ) } userName := r . Form . Get ( " " ) userID := r . Form . Get ( " " ) modifiedText := createClapsOutput ( string ( r . Form . Get ( " " ) ) ) finalText := fmt . Sprintf ( " " , userID , userName , modifiedText ) url := r . Form . Get ( " " ) writeJSONToResponseURL ( finalText , url ) }
POST request for InsertClaps
POST request for InsertClaps