• Shopping Cart Shopping Cart
    0Shopping Cart
Databuzz
  • Home
  • Services
    • FileMaker Development
    • FileMaker Integration
    • FileMaker Web Publishing
    • FileMaker Go for the iPhone and iPad
    • FileMaker Xero Integration
    • FileMaker WooCommerce Integration Specialists
    • FileMaker Shopify Integration Specialists
    • FileMaker DocuSign Integration Specialists
    • FileMaker MYOB AccountRight Integration
    • FileMaker MYOB Essentials Integration Specialists
  • Products
    • fmSMS
    • fmMMS
    • fmAccounting Link (Xero Edition)
    • fmAccounting Link (QuickBooks Online Edition)
    • fmEcommerce Link (WooCommerce Edition)
    • fmEcommerce Link (Shopify Edition)
    • fmESignature Link (Docusign Edition)
    • fmAccounting Link (MYOB AccountRight Edition)
    • fmAccounting Link (MYOB Essentials Edition)
  • Shop
  • Contact
    • Contact Databuzz
    • Support
    • Submit Testimonial
  • About Us
    • About Databuzz
    • Our Clients
    • Testimonials
    • Support
    • Databuzz Newsletter Signup
    • Terms and Conditions
    • Privacy Policy
  • News
  • Click to open the search input field Click to open the search input field Search
  • Menu Menu
Blog - Latest News

FileMaker Pro 13 – HTTP POST and HTTP Headers

December 9, 2013/5 Comments/in Databuzz, FileMaker Pro 13, General, News, Web Services/by Andrew Duncan

In FileMaker Pro v13 you can now perform an HTTP POST when importing XML data or using the “Insert from URL” script step. Both HTTP GET and HTTP/S POST are supported – GET and POST are generally the 2 most popular HTTP Request Methods when working with web services.

FileMaker Pro v12 already supported HTTP GET so nothing has changed here – you only need to specify the URL to perform an HTTP GET request. To perform an HTTP POST request you need to specify a URL starting with either:

  • httppost
  • httpspost

You then include a “?” character in the URL to separate the request URL from the POST data. Everything before the first “?” character is the request URL and everything after the first “?” character is the post data. For example to query a web service that converts Fahrenheit to Celsius you would use the following URL:

httppost://www.w3schools.com/webservices/tempconvert.asmx/FahrenheitToCelsius?Fahrenheit=100

FileMaker Pro recognises that you wish to perform an HTTP POST by the use of “httpost” at the beginning of the URL. The URL for the HTTP POST then becomes everything up to the first “?” character:

http://www.w3schools.com/webservices/tempconvert.asmx/FahrenheitToCelsius

and the POST data is everything after the first “?” character:

Fahrenheit=100

We get an XML result like this:

<?xml version=”1.0″ encoding=”utf-8″?><string xmlns=”http://www.w3schools.com/webservices/”>37.7777777777778</string>

which we could easily parse using FileMaker functions to get the actual Celsius value into a FileMaker field (see Demo File link at the bottom).

HTTP Headers

One of the main limitations when performing an HTTP POST is that we are unable to set the HTTP Headers. When working with web services – particular SOAP/XML based web services – you will often be required to set specific headers before sending the HTTP POST data. With FileMaker Pro 13.0v1 the following headers are set automatically and cannot be changed:

User-Agent: FileMaker/13.0

Content-Type: application/x-www-form-urlencoded

Hopefully a future update to FileMaker Pro will allow developers to set the HTTP Headers for each request – in the meantime you will have to continue using of the available FileMaker plugins (such as the BaseElements plug-in)

 

HTTP POST Demo.fmp12

Tags: Web Services
Share this entry
  • Share on Facebook
  • Share on X
  • Share on WhatsApp
  • Share on Pinterest
  • Share on LinkedIn
  • Share on Tumblr
  • Share on Vk
  • Share on Reddit
  • Share by Mail
https://www.databuzz.com.au/wp-content/uploads/2014/07/databuzz-logo-small-300x88.png 0 0 Andrew Duncan https://www.databuzz.com.au/wp-content/uploads/2014/07/databuzz-logo-small-300x88.png Andrew Duncan2013-12-09 09:22:542014-04-21 21:33:11FileMaker Pro 13 – HTTP POST and HTTP Headers
5 replies
  1. Shawn Mower
    Shawn Mower says:
    December 11, 2013 at 6:09 am

    Thank you Andrew. I was able to get your example to work on my FM13 test software. Do you know if the httppost can be used in a FM webvewier? Also, do you know if you can use httppost to login to websites on their login forms to submit the user name and password? Also, if a web service requires an xml formatted post but not specific headers, can the FM httppost do that?

  2. Andrew Duncan
    Andrew Duncan says:
    December 11, 2013 at 8:43 am

    FileMaker Pro 13 supports httpost with the “Insert from URL” script step and for specifying the XML and XSL Options when importing data via XML:

    http://www.filemaker.com/13help/en/html/non_toc.46.34.html

    There’s no support for the web viewer unfortunately. You should be able to use the httppost option where there is an HTML form where the method=”post”. I haven’t tried using FileMaker Pro 13 to submit xml data to a web service but can’t see any reason why it shouldn’t work as the xml data is simply the post data in a particular fomat. Let us know how you go.

  3. Mathijs van Beurden
    Mathijs van Beurden says:
    February 25, 2014 at 7:11 pm

    I love the fact they added native POST!

    But I do have a problem…. I am trying to set some basic stuff in our POS system, using the API of this system.

    httppost://127.0.0.1:13010/OpenSession.json?tag=2811w2p0txnfjagc0adjwjwezjmjrpl4&appid=1f518c6dce0a466d8d0f7c95b0717de4?{ “Code”:”1234″, “DeviceName”:”Demo System” }

    See how there is two ? in there… I need it to post everything after the second ? instead of the first…

  4. Andrew Duncan
    Andrew Duncan says:
    February 25, 2014 at 9:16 pm

    Hi Mathijs,

    Unfortunately with the FileMaker Pro v13 HTTP POST feature everything after the first “?” character is sent as POST data in the message body. You might be better of using a plugin like the free BaseElements plugin to perform the HTTP POST as that lets you pass parameters for the URL and POST Data separately. That’s what we use when working with web services and also lets us set headers etc.

    Andrew

Trackbacks & Pingbacks

  1. FileMaker Pro 13 - HTTP POST and HTTP Headers | Databuzz - FileMaker Pro Gurus says:
    December 9, 2013 at 11:07 pm

    […] written by Andrew Duncan – Leave a reply […]

Comments are closed.

Latest News

  • Changes to Xero Accounting API ScopesJuly 1, 2026 - 9:20 am

    Earlier this year Xero introduced a change to the authentication scopes for new Xero OAuth Apps that were created on or after March 2, 2026. They are replacing the previous broad scopes with more  granular scopes to give you more control and security. Xero OAuth Apps created on or after March 2, 2026 have been […]

  • fmSMS Now Supports Notifyre SMS GatewayJune 29, 2026 - 4:33 pm

    fmSMS, our FileMaker solution for sending and receiving SMS messages from the Claris FileMaker Platform, has been updated to support the Notifyre SMS Gateway based in Australia. The Notifyre SMS Gateway is trusted by 20,000 Australian organisations and was named Australia’s Most Reliable SMS Provider for 2025. You can download a trial version of fmSMS to […]

  • Databuzz releases fmESignature Link (Docusign Edition) v2 – Integrate the Claris FileMaker Platform with DocusignJune 9, 2026 - 6:00 am

    Databuzz today announced fmESignature Link (Docusign Edition) v2, a major update to their FileMaker solution that integrates with the Docusign eSignature platform. fmESignature Link (Docusign Edition) is a FileMaker solution that integrates between the Claris FileMaker Platform and Docusign. Docusign is one of the most popular electronic signature platforms and helps organisations connect and automate […]

  • Changes to the Xero Developer PricingMarch 24, 2026 - 8:24 pm

    In December 2025 Xero announced that they were making changes to their pricing and policies for the  Xero Developer Platform, including moving to a new usage-based pricing effective March 2, 2026. New apps created in the Xero Developer portal will default to the free Starter tier and existing apps will be migrated starting mid March, […]

  • Tickets for Reconnect.Christchurch 2026 Now AvailableMarch 16, 2026 - 8:20 am

    The Reconnect Claris FileMaker Developer conference is back again in 2026 and this year we’re heading outside of Australia to Christchurch, New Zealand. The conference will be held in the Christchurch Town Hall, located on the banks of the Avon River in central Christchurch on 15-16 October, 2026. Tickets for the conference are on sale […]

Newsletter Signup

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

X Logo X Logo Followon X RSS Feed Logo RSS Feed Logo Subscribeto RSS Feed

Latest News

  • Changes to Xero Accounting API ScopesJuly 1, 2026 - 9:20 am

Newsletter Signup

© Copyright Splash IT Consulting Pty Ltd T/A Databuzz | ABN 31 116 889 028
  • Link to X
  • Link to Facebook
  • Link to Rss this site
  • Home
  • Services
  • Products
  • Shop
  • Contact
  • About Us
  • News
Link to: Bookmarking the FileMaker Pro/Pro Advanced 13 Help File on Mac OS X Link to: Bookmarking the FileMaker Pro/Pro Advanced 13 Help File on Mac OS X Bookmarking the FileMaker Pro/Pro Advanced 13 Help File on Mac OS X Link to: Where are fmSMS users located? Link to: Where are fmSMS users located? Where are fmSMS users located?
Scroll to top Scroll to top Scroll to top