2 Replies Latest reply on May 31, 2017 9:32 AM by ketanmistry

    POST /traces/fragments returns HTTP 204

    ketanmistry

      Trying to post fragments via the APM REST API, the body looks like this:

       

      [{ "traceId": "007-trace", "fragmentId": "007-frag", "timestamp": 1496223729936000, "nodes": [{ "type": "Component", "uri": "/postman", "operation": "postman", "timestamp": 1496223729936000, "duration": 0, "properties": [{ "name": "service", "value": "Postman" }, { "name": "http.method", "value": "GET" }, { "name": "http.url", "value": "http://postman.com" } ], "nodes": [], "componentType": "HTTP" }] }, { "traceId": "008-trace", "fragmentId": "008-frag", "timestamp": 1496223729936000, "nodes": [{ "type": "Component", "uri": "/postman", "operation": "postman", "timestamp": 1496223729936000, "duration": 0, "properties": [{ "name": "service", "value": "Postman" }, { "name": "http.method", "value": "GET" }, { "name": "http.url", "value": "http://postman.com" } ], "nodes": [], "componentType": "HTTP" }] } ]

       

      Accept, Content-Type set to application/json, Hawkular-Tentant and authorization set, however getting a HTTP 204 No Content returned.