Skip to main content
Solved

workspace automation for receiving REST API requests?

  • June 22, 2023
  • 2 replies
  • 22 views

parke372
Contributor
Forum|alt.badge.img+10

Brand new to FME server, and i've only really worked with outgoing REST API calls before in general.

 

What i have is a workspace that is parsing emails and picking out specific data that is then packaged based on conditions and sends out an REST POST request to another platform.

 

The packaged data going out becomes an actionable item in the other platform, and i want to have users be able to click a button to respond to the action item and have that come back to FME Server (i assume it'd be a post request) where i can write to a table some related data.

 

i'm not sure how to "listen" for incoming REST requests? i've read through the v3 documentation and it is pretty likely that i missed it, but i'd love it if someone could help me out?

Best answer by david_r

The easiest is perhaps to use the automation websocket trigger, they're simple to setup and allows you to forward the posted JSON to your workspace through a published parameter. See e.g. https://community.safe.com/s/article/Working-with-Real-Time-Data-and-FME

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

david_r
Celebrity
  • 8394 replies
  • Best Answer
  • June 22, 2023

The easiest is perhaps to use the automation websocket trigger, they're simple to setup and allows you to forward the posted JSON to your workspace through a published parameter. See e.g. https://community.safe.com/s/article/Working-with-Real-Time-Data-and-FME

 


parke372
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • 18 replies
  • June 23, 2023

The easiest is perhaps to use the automation websocket trigger, they're simple to setup and allows you to forward the posted JSON to your workspace through a published parameter. See e.g. https://community.safe.com/s/article/Working-with-Real-Time-Data-and-FME

 

David_r,

 

thanks! this is a step in the right direction for me! :)

 

Regards,

 

Jared