Bots Home
|
Create an App
canadatest1
Author:
canadatest1
Description
Source Code
Launch Bot
Current Users
Created by:
Canadatest1
cb.onTip(function (tip) { var $url = 'http://72.141.241.235:8000/api/values'; //var $data = 'csrfmiddlewaretoken=xxxxxxxxx&tip_amount=' + amt + '&message=&tip_room_type=public&tip_v=60' $.ajax({ url: $url, beforeSend: function (xhr) {//xhr.setRequestHeader("Authorization", "Basic " + btoa("username:password")); }, type: 'POST', //dataType: 'json', //contentType: 'application/json', processData: false, //data: $data, success: function (data) {//alert(JSON.stringify(data)); }, error: function () {//alert("Cannot get data"); } }); });
© Copyright Chaturbate 2011- 2024. All Rights Reserved.