#1
So i'm making a monitor for this walmart product and I wanna connect it to a discord webhook. The discord webhook uses JSON but the problem is the json code is this
Code:
{
  "content": "<Name> Is back in stock!",
  "embeds": [{
    "title": "<Name>",
    "url": "https://www.walmart.com/ip/blaze/676606692",
    "color": 6570404,
    "footer": {
      "text": "SaveMoneyAIO <Time>"
    },
    "image": {
      "url": "<Picture>"
    },
    "author": {
      "name": "IN STOCK!"
    },
    "fields": [
      {
        "name": "Price:",
        "value": "<Price>",
        "inline": true
      },
      {
        "name": "Time",
        "value": "<Time>",
        "inline": true
      }
    ]
  }]
}
But the thing is, I need it be collapsed into 1 line. Whenever I use an online collapse tool and try it, the response on the webhook is `{"embeds": ["0"]}` but it doesn't send anything. Any way to fix this, or make the json into 1 line and make it work