Sending a POST-Request to Java Server localhost

Greetings everyone,

I am doing a project at the university, where there are three players in a game and the third player needs to make a POST-Request through the Postman Dektop app, this POST-Request gets sent to my localhost and ultimately I need to parse this as a JSON object (basically it has 2 fields with 2 different cities, where I calculate their distance).

My question is - how do I send a POST-Request from the Postman Desktop app to my localhost.
This is what I have so far, but I don’t really know, haven’t really found any information. Maybe I’m doing something wrong myself, in any case would really appreciate some guidance.

I am not sure how to properly send a request to my localhost. I did send the GET-Request to postman-echo, everything was great.

Here I tried to get the URL of the GET-Request, but it only returns if I enter it in the address bar in my browser. It does not react to the HTTP Request in the Postman app.

This is how the GET-Request looks normally

This is my idea of sending the POST-Request to my local host.

Like I said, I am not sure how to properly make a POST-Request.

Sorry for the dumb question and thank you in advance.

Anton.