Hi all,
From: BOT >> HTTP Call a Webhook >> HTTP verb ( POST ) >> Type ( JSON )
I didnt put "comma" in The HTTP code. And it show up on the Discord Channel.
How can I remove " comma "?
{
"content":
"_ _\n
<<IF:( [QUANTITY] ="1" )>>
**File |** <<[file no]>>\n
**Place |** <<[place no]>>
<<EndIf>>
<<IF:( [QUANTITY] ="2" )>>
**Type |** <<[TYPE]>>\n
**Status |** <<[STATUS]>>
<<EndIf>>"
}
<<IF:( [QUANTITY] >2 )>><<EndIf>>
That's something they add to make a valid JSON and you can't do anything to remove it
Thank you for help
Please do you have another idea for my JSON code?
This is what I used
{
"content":
"_ _\n
<<IF:( [QUANTITY] ="1" )>>
**File |** <<[file no]>>\n
**Place |** <<[place no]>>
<<EndIf>>
<<IF:( [QUANTITY] ="2" )>>
**Type |** <<[TYPE]>>\n
**Status |** <<[STATUS]>>
<<EndIf>>"
}
<<IF:( [QUANTITY] >2 )>><<EndIf>>
User | Count |
---|---|
17 | |
14 | |
8 | |
7 | |
4 |