Skip to main content
Solved

FSM Extract - HTTP with authentication

  • May 25, 2021
  • 2 replies
  • 137 views

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

This topic has been closed for replies.

2 replies

Lee Pinchbeck
Ultimate Hero
Forum|alt.badge.img+24
  • Ultimate Hero
  • 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)
  • 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.