Fetch the proper action url