UNPKG
mindbody-sdk
Version:
latest (1.0.4)
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
A Node.js client for the MINDBODY API
github.com/justwillgreene/mindbody
justwillgreene/mindbody
mindbody-sdk
/
lib
/
categories
/
usertoken.js
9 lines
•
322 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
module
.
exports
=
function
(
client
) {
return
{
// https://api.mindbodyonline.com/public/v6/usertoken/issue
issue
:
function
(
details
) {
let
url =
"usertoken/issue"
;
return
client.
request
({
url
: url }, {
method
:
'POST'
,
body
:
JSON
.
stringify
(details) }) }, }; };