1. The HTTP request body captured in the proxy software contains a large number of \n. As shown in Figure 1

JSON
{
"query": "\n query getApp($apiKey: String!) {\n app(apiKey: $apiKey) {\n applicationUrl\n redirectUrlWhitelist\n appProxy {\n url\n subPath\n subPathPrefix\n }\n }\n }\n",
"variables": {
"apiKey": "b1872dbbd62320f17101f477a56d6f6e"
},
"operationName": "getApp"
}
2. Reference: Online Text Content Keyword Batch Deletion – Filter and Clear . Enter \\n in the keyword list, then click process. The processed result is as follows, which meets expectations. As shown in Figure 2

JSON
{
"query": " query getApp($apiKey: String!) { app(apiKey: $apiKey) { applicationUrl redirectUrlWhitelist appProxy { url subPath subPathPrefix } } }",
"variables": {
"apiKey": "b1872dbbd62320f17101f477a56d6f6e"
},
"operationName": "getApp"
}
3. Finally, use Beautify in the GraphQL CLI client, and the final request meets expectations. As shown in Figure 3

Plaintext
query getApp($apiKey: String!) {
app(apiKey: $apiKey) {
applicationUrl
redirectUrlWhitelist
appProxy {
url
subPath
subPathPrefix
}
}
}
