jlelse
/
jsonpub
Archived
1
Fork 0

Return 201 header by default

This commit is contained in:
Jan-Lukas Else 2020-02-24 22:10:36 +01:00
parent eac57a4d40
commit 79db49d29c
1 changed files with 2 additions and 0 deletions

View File

@ -89,6 +89,8 @@ func Serve() {
}
}
}
// Return 201
w.WriteHeader(http.StatusCreated)
}
// Add the handlers to a HTTP server