Format conversion
This refers to having the ability to convert payloads from one format to another over the same transport. For example, from XML/SOAP over HTTPS to JSON over HTTPS and vice versa.
Note that in certain scenarios, such as in the case of the Internet of Things (IoT), some specialized API gateways may also support, in addition to payload conversions, transport conversions. For example, converting from Message Queuing Telemetry Transport (MQTT) over TCP (a very popular transport in IoT) to JSON over HTTPS.
This capability can be useful, for example, when it is required to repurpose existing APIs built in less popular protocols (for example, SOAP) as rewriting or refactoring them (for example, to support REST) may not be an option. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access