aliakbarbeda2

Post google script

Jun 19th, 2022
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. function send(id,q){
  2.  
  3. url = "";
  4. options = {
  5. "method": "post",
  6. "headers": {
  7. "Authorization": "Basic " + Utilities.base64Encode(" ...account.SID... : ...auth.token... ")
  8. },
  9. "payload": {
  10. "chat_id": "",
  11. "audio": ""
  12.  
  13. }
  14. };
  15. response = UrlFetchApp.fetch(url, options);
  16.  
  17. }
  18.  
Add Comment
Please, Sign In to add comment