Writes out the urlencoded data/query string or full URL based on the internally set values.