expand application path, check status code from curl