extending to support permutation between post_data and origin_url