Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Post Data To Url With Multiple Fields

Featured Replies

  • Newbies

I am trying to post data to a url with multiple fields The post also has a login and password.

I think the post string should look like this:

http://smartenergy.vicihost.com/vicidial/non_agent_api.php?

function=add_lead&

vendor_lead_code=SEABOG007&

phone_number=1234567890&

first_name=JOSE&

last_name=LOERA&

address1=229 LA PAZ DR&

city=IMPERIAL&state=CA&

postal_code=92251&

country_code=USA&

[email protected]&

comments=sdsdssd&

(homeowner?)=YES&

(monthlyElecricBill?)=500&

user=4002&

pass=andresoro&

source=ceeintegrity&

list_id=5001&

campaign id=2001

When I try to enter this into the post to url function in Scriptmaster I get an error. Admittedly I am a beginner with ScriptMast so I appreciate any help anyone can provide me. Thanks, Andrew

In this case a GET request will suffice since the server will work/expects that, i.e. ScriptMaster get url as text with the below as its parameter, or simply a Filemaker WebViewer with:

http://smartenergy.vicihost.com/vicidial/non_agent_api.php?function=add_lead&vendor_lead_code=SEABOG007&phone_number=1234567890&first_name=JOSE&last_name=LOERA&address1=229+LA+PAZ+DR&city=IMPERIAL&state=CA&postal_code=92251&country_code=USA&email=loeraanimal%40aol.com&comments=sdsdssd&%28homeowner%3F%29=YES&%28monthlyElecricBill%3F%29=500&user=4002&pass=andresoro&source=ceeintegrity&list_id=5001&campaign+id=2001&

Note the spaces must be URL encoded but the & should not be. Since you posted the password to this site to the forum, you may want to change it.

I am trying to post data to a url with multiple fields The post also has a login and password.

I think the post string should look like this:

http://smartenergy.vicihost.com/vicidial/non_agent_api.php?

function=add_lead&

vendor_lead_code=SEABOG007&

phone_number=1234567890&

first_name=JOSE&

last_name=LOERA&

address1=229 LA PAZ DR&

city=IMPERIAL&state=CA&

postal_code=92251&

country_code=USA&

[email protected]&

comments=sdsdssd&

(homeowner?)=YES&

(monthlyElecricBill?)=500&

user=4002&

pass=andresoro&

source=ceeintegrity&

list_id=5001&

campaign id=2001

When I try to enter this into the post to url function in Scriptmaster I get an error. Admittedly I am a beginner with ScriptMast so I appreciate any help anyone can provide me. Thanks, Andrew

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.