Set request to use POST
Reads port from env var when available