|
@@ -42,7 +42,7 @@ func main() {
|
|
for true {
|
|
for true {
|
|
// send request
|
|
// send request
|
|
reader := bytes.NewBuffer(body)
|
|
reader := bytes.NewBuffer(body)
|
|
- resp, err := http.Post("https://localhost:8080/register", "application/json", reader)
|
|
|
|
|
|
+ resp, err := http.Post("http://localhost:8080/register", "application/json", reader)
|
|
if err != nil {
|
|
if err != nil {
|
|
log.Printf("err: %+v", err)
|
|
log.Printf("err: %+v", err)
|
|
}
|
|
}
|