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.

MBS cURL Async - Stop Waiting

(0 reviews)

If you've ever clicked a button in FileMaker that calls a web service and then watched the entire interface freeze while you wait, you already know the cost of synchronous communication. A two second delay is annoying, a thirty second delay is unacceptable, and a minute long response from a busy API can derail an entire workflow. This tutorial tackles the fundamental blocking problem head on and shows how to keep your users productive while requests run quietly in the background.

Watch the contrast unfold side by side as the native Insert from URL locks the screen during a five second delay while the same request through the MBS plugin fires off, returns control immediately, and lets you keep typing, navigating, and clicking through the solution. The technique hinges on a tag based routing system that lets every outbound call carry its own identifier, so when responses return at different times from different services, each one triggers exactly the right follow up script. You'll see how multiple parallel requests to completely different endpoints can be dispatched at once and handled independently as their replies arrive, transforming what was a serial bottleneck into a concurrent pipeline.

Watch while we walk through the entire custom function that wraps this behavior into a single reusable call. We'll take a deep dive on the headers hack required to work around a plugin limitation, the dual progress system that combines script driven updates with the plugin's own progress dialog, the finished script handler that releases cURL sessions from memory, the JWT token pattern for authenticated APIs, the user agent strategy for server side metrics, and the debugging variable approach that exposes every option the function sets. There is also context on local Docker based testing with HTTPbin so you can develop against a private endpoint before pointing at production, plus the reasoning behind dry coding constants and avoiding literal script names in code.

Click the title or link to this article to view the video.

View the full article

0 Comments

Recommended Comments

There are no comments to display.

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.