Find Jobs
Hire Freelancers

Handle HTTP Get / Post in PHP

$30-100 USD

Completed
Posted over 14 years ago

$30-100 USD

Paid on delivery
HTTP Get and HTTP Post in PHP This project consists in producing 2 pages in php First page is to handle an HTTP Get method passed from an external VXML application. Second page is to handle an HTTP Post request passed from a third party website ([login to view URL]) ## Deliverables HTTP Get and HTTP Post in PHP This project consists in producing 2 pages in php First page is to handle an HTTP Get method passed from an external VXML application Second page is to handle an HTTP Post passed from a third party website Page 1: Page handling HTTP Get The VXML application is passing the following: submit next="[login to view URL]" mobile="myMobileNumber" request="myRequest" method = "get"/ where: mobile is a mobile number in the form 3125666468 or +447123456789 request is a word such as 'Restaurants' or 'Theatre' or 'Flowers' or 'Computers' you need to create the [login to view URL] page in order to do the following: a) test IF mobile starts with a + sign, THEN remove the + sign (and keep the rest of the field unchanged) ELSE add a leading 1 to the number and keep the rest of the field unchanged b) IF request = Restaurants THEN [login to view URL] ELSE IF request = Theatre THEN [login to view URL] ELSE IF request = Flowers THEN [login to view URL] ELSE [login to view URL] That's it for Page 1 Page 2: Page handling HTTP Post as follows: This page is to handle HTTP Post as described on [login to view URL] upon receiving a Post, the page should: a) acknowledge as described in HTTP Response section of csoft link above b) IF Message = List (any combination upper/lower case) or is empty THEN Assign the content of an SMS to be sent back based on the ReplyTo number received in the Post send the SMS message as per example provided at [login to view URL] ELSE IF Message = SList (any combination upper/lower case) THEN Assign the content of an SMS to be sent back based on the ReplyTo number received in the Post send the SMS message as per example provided at [login to view URL] ELSE IF Message = Restaurants (any combination upper/lower case and with/without s) THEN [login to view URL] ELSE IF Message = Theatre (any combination upper/lower case and with/without s) THEN [login to view URL] ELSE IF Message = Flowers (any combination upper/lower case and with/without s) THEN [login to view URL] ELSE IF Message = Computers (any combination upper/lower case and with/without s) THEN [login to view URL] ELSE IF Message = Beer (any combination upper/lower case) THEN Assign the content of an SMS to be sent back based on the ReplyTo number received in the Post send the SMS message as per example provided at [login to view URL] ELSE IF Message = Pizza (any combination upper/lower case) THEN Assign the content of an SMS to be sent back based on the ReplyTo number received in the Post send the SMS message as per example provided at [login to view URL] ELSE do nothing That's it for this page.
Project ID: 3120432

About the project

7 proposals
Remote project
Active 14 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$34 USD in 3 days
5.0 (11 reviews)
3.5
3.5
7 freelancers are bidding on average $109 USD for this job
User Avatar
See private message.
$46.75 USD in 3 days
5.0 (241 reviews)
7.0
7.0
User Avatar
See private message.
$85 USD in 3 days
5.0 (261 reviews)
6.4
6.4
User Avatar
See private message.
$425 USD in 3 days
5.0 (4 reviews)
3.2
3.2
User Avatar
See private message.
$42.50 USD in 3 days
4.8 (9 reviews)
2.9
2.9
User Avatar
See private message.
$59.50 USD in 3 days
5.0 (3 reviews)
0.6
0.6
User Avatar
See private message.
$68 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED KINGDOM
London, United Kingdom
5.0
39
Payment method verified
Member since Apr 13, 2004

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.