func GenBody(t interface{}) io.Reader {
	tjson, err := json.Marshal(&t)
	if err != nil {
		log.Panic("Error marshalling : ", err.Error())
	}
	log.Println("Request Body : ", string(tjson))
	return bytes.NewReader(tjson)
}
// generate body for http request
// parse interface{} to io.Reader
generate body for http request
parse interface{} to io.Reader
// generate body for http request // parse interface {} to io . Reader
func GenBody(t interface{}) io.Reader {
	tjson, err := json.Marshal(&t)
	if err != nil {
		log.Panic("Error marshalling : ", err.Error())
	}
	log.Println("Request Body : ", string(tjson))
	return bytes.NewReader(tjson)
}
func GenBody ( t interface { } ) io . Reader { tjson , err := json . Marshal ( & t ) if err != nil { log . Panic ( " " , err . Error ( ) ) } log . Println ( " " , string ( tjson ) ) return bytes . NewReader ( tjson ) }
generate body for http request
parse interface{} to io.Reader
generate body for http request parse interface {} to io . Reader