Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

grunburg's avatar

Character in front of every API request

Hello, while developing API, I noticed that every request has character "x" in front of it. I cant find anything that might cause it. Did I mistakenly added x somewhere and where it might be added, as of it appears on every request.

x{
    "data": {
        "id": 1,
        "category": "Pizza",
        "author": "Lonzo Pfannerstill",
        "author_id": 9,
        "title": "Non quo nostrum labore dolor eos.",
        "content": "Consequuntur qui molestiae molestias eum.",
    }
}
0 likes
2 replies
tykus's avatar
tykus
Best Answer
Level 104

Did I mistakenly added x somewhere

Most probably, yes.

Try a global search for x<?php - you might get lucky

1 like
grunburg's avatar

I was on the line of breakdown, thank you! 🍪

Please or to participate in this conversation.