Find Jobs
Hire Freelancers

Remote signup API form creation (only 3 fields)

$30-100 USD

Σε Εξέλιξη
Αναρτήθηκε πάνω από 16 χρόνια πριν

$30-100 USD

Πληρωμή κατά την παράδοση
I need a simple three field form created on the home page for a newsletter signup. It is for [login to view URL] and they provide us the remote access instructions below. Emma's Remote Signup API logout Emma offers a Web Service API that allows Emma customers with programming know-how to create a direct connection between a remote signup or entry form and their Emma audience. They have offered us the following options for a Remote signup API: Examples of the Remote Signup API Code examples save a new user with the following information: first name: Bob email: to the group: references to "**username**" and "**password**" should be replaced with the Remote Signup username and password you were given. ASP w/ ServerXMLHTTP in VBScript string stringPost = [login to view URL]() 'remember a post is essentially a string delimited in a special way stringPost = stringPost + "&username=**username**&password=**password**" stringPost = stringPost + "&signup_post=24842&emma_account_id=14714" stringPost = stringPost + "&group[]=1&emma_member_name_first=Bob&emma_member_email=" dim xmlhttp set xmlhttp = [login to view URL]("MSXML2.ServerXMLHTTP") [login to view URL] "POST","[login to view URL]:RemoteSignup",false [login to view URL] "Content-Type", "application/x-www-form-urlencoded" [login to view URL] DataToSend [login to view URL] = "text/xml" stringResult = [login to view URL] ' This is where you get the return value for evaluation Set xmlhttp = nothing ASP.NET w/ HTTPWebRequest and HTTPWebResponse in C# string stringPost = [login to view URL](); // remember a post is essentially a string delimited in a special way stringPost = stringPost + "&username=**username**&password=**password**"; stringPost = stringPost + "&signup_post=24842&emma_account_id=14714"; stringPost = stringPost + "&group[]=1&emma_member_name_first=Bob&emma_member_email="; HttpWebRequest httpWebRequest = (HttpWebRequest)[login to view URL]("[login to view URL]:RemoteSignup"); [login to view URL] = "POST"; [login to view URL] = [login to view URL]; [login to view URL] = "application/x-www-form-urlencoded"; StreamWriter streamWriter = null; streamWriter = new StreamWriter([login to view URL]()); [login to view URL](stringPost); [login to view URL](); HttpWebResponse httpWebResponse = (HttpWebResponse)[login to view URL](); using (StreamReader streamReader = new StreamReader([login to view URL]())) { stringResult = [login to view URL](); // This is where you get the return value for evaluation [login to view URL](); } PHP w/ PEAR's HTTP_Client package require_once("HTTP/Client.php"); $emma_client = new HTTP_Client(); $emma_client->setMaxRedirects(20); // POST should be filtered appropriately $_POST['emma_account_id'] = '14714'; $_POST['signup_post'] = '24842'; $_POST['username'] = '**username**'; $_POST['password'] = '**password**'; $_POST['group'][] = 1 $_POST['emma_member_name_first'] = 'Bob'; $_POST['emma_member_email'] = ''; $emma_client->post("[login to view URL]:RemoteSignup", $_POST); $response_code = $emma_client->currentResponse(); PHP w/ cURL $post = "signup_post=24842&emma_account_id=14714&username=**username**&password=**password**&group[]=1"; $post .= "&emma_member_email=&emma_member_name_first=Bob"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,"[login to view URL]:RemoteSignup"); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS,$post); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); $response_code = curl_exec ($ch); curl_close ($ch); ColdFusion MX <CFHTTP url="[login to view URL]:RemoteSignup" method="POST" throwonerror="yes"> <CFHTTPPARAM type="FORMFIELD" name="emma_account_id" value="14714"> <CFHTTPPARAM type="FORMFIELD" name="signup_post" value="24842"> <CFHTTPPARAM type="FORMFIELD" name="username" value="**username**"> <CFHTTPPARAM type="FORMFIELD" name="password" value="**password**"> <CFHTTPPARAM type="FORMFIELD" name="group[]" value="1"> <CFHTTPPARAM type="FORMFIELD" name="emma_member_name_first" value='Bob'> <CFHTTPPARAM type="FORMFIELD" name="emma_member_email" value=""> </CFHTTP> <CFSET ResponseCode = CFHTTP.fileContent>
Ταυτότητα εργασίας: 174057

Σχετικά με την εργασία

7 προτάσεις
Απομακρυσμένη Εργασία
Ενεργός/ή 17 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν

Σχετικά με τον πελάτη

Σημαία της UNITED STATES
Vista, United States
5,0
82
Επαληθευμένη μέθοδος πληρωμής
Μέλος από Νοε 7, 2006

Επαλήθευση Πελάτη

Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.