OP 12 November, 2020 - 01:28 AM
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
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
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
}
]
}]
}