Jump to content

This topic is 4614 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello,

Is there a way to post more than one name pair using PostDataToURL? I need to post 6 values for one page. Then 11 for another. I don't think XML is an option. But I'll look into it.

Thanks,

Jeff

Posted

Hello Jeff,

The Post Data to URL module in ScriptMaster has a few lines commented out that may help you do what you are looking for. You'll basically need to append each key value pair to the string being passed into the OuputStreamWriter. If you pass in return delimited lists from FileMaker (keys and values), you should then be able to parse those lists and append them accordingly. This will require a little bit of Java/Groovy experience but is not terribly difficult. There are a lot of helpful people on the forums that can likely help with this code if necessary. However, if you are unable to get assistance in here let me know directly as we do offer custom plugin development as another option.

Posted

Jeff, and others who are looking at the modules in ScriptMaster file. The java there is VERY java. While Jesse is the master at this dark art, I personally prefer the groovy way using lots of closures. Groovy code can be very self documenting.

If you're looking to do posts with ScriptMaster and you're ok with loading in jars from containers then your code can be very simple.

Try this if you have the time to invest.

http://groovy.codeha.../doc/index.html

This is the POST specific stuff.

http://groovy.codehaus.org/modules/http-builder/doc/post.html

This topic is 4614 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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