Skip to main content
Solved

FSM Extract - HTTP with authentication


Forum|alt.badge.img+2

I’m using the extract functionality in FSM (version 6.6) to post table updates to an HTTP endpoint. This works as expected when using an unauthenticated endpoint. I simply specify the endpoint in the “Extract Address” field and the updates post successfully.

How can I use an authenticated HTTP endpoint (basic authentication) to post extracts?

Best answer by Lee Pinchbeck

Hi @ejbakken,

I believe the extract will simply send to the address and will not allow you to add authentication (unless you are able to declare it in the address path).

You may want to use the audit option instead which functions in much the same way but stores the result in the database. There is an option to update fsm integration as well, you can then set up an integration that does authenticate to trigger on an entry in to the table and send to the desired location.

Kind regards,

Lee Pinchbeck

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

2 replies

Lee Pinchbeck
Ultimate Hero
Forum|alt.badge.img+24
  • Ultimate Hero
  • 1219 replies
  • Answer
  • May 26, 2021

Hi @ejbakken,

I believe the extract will simply send to the address and will not allow you to add authentication (unless you are able to declare it in the address path).

You may want to use the audit option instead which functions in much the same way but stores the result in the database. There is an option to update fsm integration as well, you can then set up an integration that does authenticate to trigger on an entry in to the table and send to the desired location.

Kind regards,

Lee Pinchbeck


Forum|alt.badge.img+2
  • Author
  • Do Gooder (Customer)
  • 1 reply
  • June 24, 2021

I ended up setting the Extract Address to “db” and checking “Update FSM Integration”, which writes the XML/JSON to the metrix_integration table. On insert to this table, a business rule invokes perform_outbound_integration, which calls an XML map. The XML map extracts from metrix_integration and sends the XML/JSON to the authenticated endpoint using a message routing rule.


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