Skip 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 to URL - error

Featured Replies

  • Newbies

Filemaker 12 Pro client, 12 Server

Client Win7Pro, Server Win7Pro

 

Using Scriptmaster to post to URL.  Get error code below.  I don't expect complete troubleshooting, but maybe a couple steps in the right direction would be greatly appreciated.

 

Data is being sent correctly to the plugin from FM12 database script, but not parsing/posting,,, following error code:

 

Is the FileNotFoundException simply stating that the post to URL is no longer valid?

 

----------------------------------------------------------

 

java.io.FileNotFoundException: http://**POST ADDRESS HIDDEN FOR THIS FORUM**
 
Parameters:
{key=title, value=Legal & Liability Mgt:  Tactical-SWAT-Emergency Response  *BY PATC, key2=start_on, value2=2013-08-21, key3=end_on, value3=2013-08-22, key4=link, value4=http://www.patc.com/training/schedule.php, key5=city, value5=Normal, key6=state, value6=IL, key7=zip, value7=61761, key8=bold, value8=NO, key9=topic1, value9=7, key10=topic2, value10=1, url=http://POST ADDRESS HIDDEN FOR THIS FORUM }
 
---Script---
Script:
// Construct data
String data = URLEncoder.encode(key, "UTF-8") + "=" + URLEncoder.encode(value, "UTF-8");
data += "&" + URLEncoder.encode(key2, "UTF-8") + "=" + URLEncoder.encode(value2, "UTF-8");
data += "&" + URLEncoder.encode(key3, "UTF-8") + "=" + URLEncoder.encode(value3, "UTF-8");
data += "&" + URLEncoder.encode(key4, "UTF-8") + "=" + URLEncoder.encode(value4, "UTF-8");
data += "&" + URLEncoder.encode(key5, "UTF-8") + "=" + URLEncoder.encode(value5, "UTF-8");
data += "&" + URLEncoder.encode(key6, "UTF-8") + "=" + URLEncoder.encode(value6, "UTF-8");
data += "&" + URLEncoder.encode(key7, "UTF-8") + "=" + URLEncoder.encode(value7, "UTF-8");
data += "&" + URLEncoder.encode(key8, "UTF-8") + "=" + URLEncoder.encode(value8, "UTF-8");
data += "&" + URLEncoder.encode(key9, "UTF-8") + "=" + URLEncoder.encode(value9, "UTF-8");
data += "&" + URLEncoder.encode(key10, "UTF-8") + "=" + URLEncoder.encode(value10, "UTF-8");
// use something like the following to send multiple key/value pairs
// data += "&" + URLEncoder...

 

you need to post more of the function as the error is being thrown somewhere that we cant see how and why...

 

do you really have 20+ parameters?

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.