Forum Discussion
Hi,
> could you please explain your variables ?
Which ones? In what code (snippet)?
- fazlook8 years agoFrequent Contributor
Sorry for being late on this one :) I meant the following:
memberAccessToken, URL, method, formData, optionalAPIaccessToken
- chicks8 years agoRegular Contributor
the member access token is the access token required for our specific API. which goes in the headers for the request.
Some of our rest api requires both a member access token as well as a higher level access token which goes in the header as well if it's not empty. "method" would typically be either POST or GET.
the "message" is the actual string / function that you're calling (but not including the endpoint) for example "/public/rest/login "
the form data is the data for the message, which could be empty if you're passing everything in the actual message or might have some meaningful data in it for example for the login case it might be:
{"userId":"valid_email@domain.com","password":"<valid_password>"}
Related Content
- 2 years ago
Recent Discussions
- 16 hours ago