Skip to main content
Solved

workspace automation for receiving REST API requests?


parke372
Contributor
Forum|alt.badge.img+8

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

 

View original
Did this help you find an answer to your question?

2 replies

david_r
Evangelist
  • 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+8
  • Author
  • Contributor
  • June 23, 2023
david_r wrote:

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings