You are here: FME Server Reference Manual > FME Server Services > Notification Service > HTTP Push Subscriber

HTTP Push Subscriber

HTTP push subscriber receives notifications from FME Notification Service and posts HTTP request to the specified URLs in subscribers.

Keywords

Subscriber

An HTTP push subscriber is a configuration required to post requests. It contains the following properties:

The following is the dialog for creating a new HTTP Push subscription from the Web User Interface.

Push Notification Content

An FME Server notification stores the message content in keyword/value pairs. If push subscriber receives a notification consisting of only one keyword/value pair, it will send the value as the POST request body. Otherwise, it will format all the keywords and values into JSON or XML based on subscriber.

For example, the notification below will be posted as value only:

subscriber_content: "This is my notification message"

The POST request body will be "This is my notification message".

Another notification consisting of multiple keyword/value pairs will be posted as JSON or XML:

{

"foo": "value 1",

"bar": "value 2"

}

Or:

<?xml version="1.0" encoding="UTF-8"?>

<content>

<foo>value 1</foo>

<bar>value 2</bar>

</content>

Safe Software Inc. www.safe.com