Exercise 8 PR #95
|
@ -35,7 +35,7 @@ public class WinningBidWebController {
|
||||||
try {
|
try {
|
||||||
var body = payload.serialize();
|
var body = payload.serialize();
|
||||||
LOGGER.info(body);
|
LOGGER.info(body);
|
||||||
var postURI = URI.create(taskListURI + "/tasks/");
|
var postURI = URI.create("https://tapas-tasks.86-119-35-40.nip.io/tasks/");
|
||||||
HttpRequest postRequest = HttpRequest.newBuilder()
|
HttpRequest postRequest = HttpRequest.newBuilder()
|
||||||
.uri(postURI)
|
.uri(postURI)
|
||||||
.header("Content-Type", TaskJsonRepresentation.MEDIA_TYPE)
|
.header("Content-Type", TaskJsonRepresentation.MEDIA_TYPE)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user