spee.ch/public/assets/js/authFunctions.js
2017-09-28 15:47:55 -07:00

4 lines
No EOL
161 B
JavaScript

function sendAuthRequest (channelName, password, url) {
const params = `username=${channelName}&password=${password}`;
return postRequest(url, params);
}