Salve ragazzi, questo è il mio primo post nel forum.
Non sono un grande intenditore di informatica, ma solo un ragazzino curioso.
Quello che volevo chiedervi è come inviare un json direttamente a un url, queste sono le istruzioni che ho:
You have two options for sending data to the Webhook URL above:
- Send a JSON string as the payload parameter in a POST request
- Send a JSON string as the body of a POST request
E io voglio inviare questa semplice istruzione:
payload={"text": "This is a line of text in a channel.\nAnd this is another line of text."}
Potreste spiegarmi come devo fare? (Premetto che sono da windows 10)