function _services_session_token in Services 7.3
Page callback to generate token.
1 string reference to '_services_session_token'
- services_menu in ./
services.module - Implements hook_menu().
File
- ./
services.module, line 1123 - Provides a generic but powerful API for web services.
Code
function _services_session_token() {
drupal_page_is_cacheable(FALSE);
drupal_add_http_header('Content-Type', 'text/plain');
print drupal_get_token('services');
drupal_exit();
}