Reformat this
This commit is contained in:
parent
c099930cf3
commit
4b143a6650
1 changed files with 4 additions and 1 deletions
5
main.go
5
main.go
|
@ -30,7 +30,10 @@ func main() {
|
|||
log.Fatal(err)
|
||||
}
|
||||
|
||||
resp, err := client.Post("http://localhost:8080/post", "application/json", bytes.NewBuffer(json_data))
|
||||
resp, err := client.Post(
|
||||
"http://localhost:8080/post",
|
||||
"application/json",
|
||||
bytes.NewBuffer(json_data))
|
||||
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue