Test the HTTP interface

Use the IoT Edge Message Stream API to test your configuration over HTTP.

The API allows you to access published and retained messages through GET commands based on URL-encoded topic paths. Here are some path examples:

  • for published messages

    GET /api/v1/buffer/topics/{topic}?limit={number}&offset={number}
  • for retained messages

    GET /api/v1/buffer/retained/{topic}

See the IoT Edge Message Stream API guide for procedure steps and parameter details.

Before testing, make sure that you pass the JSON Web Token (JWT). Pass the JWT in your request's header or query parameter, as you specified in the JWT behavior in your property configuration. Create a JWT use a REST API browser extension to add the header to your request.