How to Request to APM Server API

Hi,

Hi,

I'm trying create APM Service using Postman Request.
My request is [POST] http://localhost:8200/intake/v2/rum/events and my body i follow this example (Example Request Body | APM Server Reference [7.15] | Elastic) but my response it's:

{
    "accepted": 0,
    "errors": [
        {
            "message": "invalid content type: 'application/json'"
        }
    ]
}

Kibana version: 7.15.1

Elasticsearch version:7.15.1

APM Server version:7.15.1

APM Agent language and version: Postman

Browser version: Postman

@Victor_Nunes Most requests I've seen to APM Server require a content-type header of application/x-ndjson, not the (presumably default) of application/json. I'm not familiar with Postman the HTTP Client, but this page makes it sound like you should be able to set a custom Content-Type. Give that a try and let us know how it goes.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.