title: Telegram Bot that takes data from input form and sends it to a telegram group/user
body: <p>I want to help a friend. He has a simple site made with HTML, JavaScript and jQuery. He needs to integrate the site with telegram so, that if someone fills the form on the site, the telegram bot should send the information in a group chat (I know how to take the chat_id, but nothing more about telegram bots).</p>
  
  <p>So I tried to send some POST requests with curl to my bot with the sendMessage method, but it seems it didnt worked.</p>
  
  <p>Maybe I made mistake with the command line curl, it doesnt show me any output when I make a request. I`ve found that it sends the output in stdout (whatever this is...)</p>
  
  <p>So I have 2 questions:
  <br>1: How can I make curl show the response output in the command line?
  <br>2: How do I make the request to send a message to myself (In telegram bot manual it says it should look like this below..)</p>
  
  <pre><code>curl -s \
  -X POST \
  https://api.telegram.org/bot&lt;token&gt;/sendMessage \
  -d text="A message from your bot" \
  -d chat_id=65535 \
  | jq .
  </code></pre>
  
  <p>I assumed I need to write that in cmd I tried with my personal bot token and chat_id but It didnt work.</p>