Soracom Air Metadata Service option to suppress response body now available
Soracom Air Metadata Service is a service that allows a device using a Soracom IoT SIM to obtain information about the SIM itself, as well as to modify its subscription configuration, by making simple HTTP requests over the Soracom Air cellular connection.
By default, all HTTP requests sent to the Metadata Service will return a response that contains the SIM details in the response body. While this is normally expected for HTTP
GET requests, some applications do not require receiving these details for
PUT requests, and the extra response body can result in unnecessary data usage.
With this update, a new Minimize response body option is available for Metadata Service. When enabled, Metadata Service will suppress adding SIM details to the response body for HTTP
PUT requests, and instead will return only a
204 status code.
Please note that HTTP
GET requests made to Metadata Service will continue to return SIM details in the response body even with the option enabled.