dynamically display url for API to post to