this is not longer needed

This commit is contained in:
Erik Eckert 2023-12-21 13:42:27 -07:00
parent 40b26c7b8e
commit 1fbe8579ba

View File

@ -144,7 +144,7 @@ func readDataStream(resp http.ResponseWriter, request *http.Request) {
var request_body Payload // init request_body as data type Payload - uses custom structs var request_body Payload // init request_body as data type Payload - uses custom structs
body_string, _ := io.ReadAll(request.Body) // ready Body Data body_string, _ := io.ReadAll(request.Body) // ready Body Data
log_values.BodyData = string(body_string) // prep for logging log_values.BodyData = string(body_string) // prep for logging
fmt.Printf("%+v\n", log_values) // debug code to show JASON data coming in // fmt.Printf("%+v\n", log_values) // debug code to show JASON data coming in
err := json.Unmarshal(body_string, &request_body) err := json.Unmarshal(body_string, &request_body)
if err != nil { if err != nil {