title: How do redirect in Ajax Post?
body: <p>Im trying to redirect Ajax post in a success function</p>
  
  <p>Here's the code</p>
  
  <pre><code>$.ajax({
      type: "POST",
      url: "/api/create-room/",
      data:{
        targetedUser,
      },
      success: function(data) {
        // How to redirect in here??
      }
  });
  </code></pre>