title: CoTURN: How to use TURN REST API?
body: <p>I have build coturn and run it successfully. ip:192.168.1.111. Now the question I faced is to get the Turn credential through REST API.
  <a href="https://datatracker.ietf.org/doc/html/draft-uberti-behave-turn-rest-00" rel="nofollow noreferrer">https://datatracker.ietf.org/doc/html/draft-uberti-behave-turn-rest-00</a> According to the passage the request format should be</p>
  <p><code>GET /?service=turn&amp;username=mbzrxpgjys</code></p>
  <p>and response should be <code>JSON</code>. Now my question is:</p>
  <p>a) How to configure and command TURN SERVER to make it run in <code>REST API</code> mode?</p>
  <p>b) How to write a http request in the right format so <code>TURN SERVER</code> can reply correctly? could you give me an example?</p>