Message from JavaScript discussions

February 2018

— What do you mean by "web service" ?


It's like my client they gave me one link, I neeed to grab specif parameters and based on geo location and paramanters I need to redirect to some website

— Ex, if parameter says amazon and us, it will redirect to , if it says amazon and india it will redirect to

Message permanent page

— Is the parameters in the url of GET request ? or in body of POST request ?

— Yup

— Get request

— With php you can do
$some_var = $_GET['parameter_name'];

if ($some_var == 'us') { header('Location:'); }

Message permanent page

— Ya but how that link my client gave will come to this page ?

— Http://

— Like this link is given

— I know how to get paramaters but how to make communication between this link and logic of getting paramaters ?

Message permanent page

— You do not know the link ?