Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

I occasionally use the "Open URL" script step to submit a "GET" request from FileMaker, for example, to determine the shipping cost with canada post given the postal code, weight and dimensions.

For example, here is a URL I created with a calculation field:

http://www.canadapost.ca/scripts/RateNew.dll?MfcIsApiCommand=ParcelRate&language=english&service=Small+Bus&referrer=CPCBus&rateType=serv&choice=All+Services&when=urgent&srccode=L6J6M1&destcode=V2X3N6&type=Parcel&weight=1&wtoption=kg&length=49&width=32&depth=15&dimension=cm&insurance=

Now the problem...

I want to be able to look up a postal code to be sure the street name matches, but this particular form at Canada Post only supports POST, so that rules out using Open URL.

Is there any way for me to submit a POST request?

Posted

The Troi URL plug in should be able to do this. However, I've never been able to make it work in POST method, only GET method. They have an example of POST working, but I can't replicate it. I've heard of others with this problem.

I don't know if this helps, but at least you have more info.

Dan

Posted

Just a thought, but you could use GET to send the data from FM to a web form you set up on your own web site, process it with a cgi in Perl or something, and then pass it on again to the final destination using POST. No plugin needed this way.

Dan

Posted

That plugin looks pretty sweet... too bad it doesn't work in 7... but I'm sure it won't be long.

Thanks for the other idea. not terribly elegant but it looks like it might do the trick.

Posted

Hey Jason,

Actually the site says that it probably works with 7 anyway, but they haven't really gone in there and made sure it is 100% compatible.

I tested it with 7 and it seems to work fine.

Dan

  • 1 month later...

This topic is 7421 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.