Fix the url val in the payload.
Actually close the POST connection. Remove logging of payload.