Testing 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:

GET /api/v1/buffer/topics/{topic}?limit={number}&offset={number}

for published messages, or

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

for retained messages.

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 or use a REST API browser extension to add the header to your request.