You will need to download the latest version of SYPC and Mimeparse:
wget http://spyc.googlecode.com/svn/trunk/spyc.php -O servers/rest_server/lib/spyc.php
Once downloaded you need to add spyc.php to the rest_server/lib folder which exists under
the location you have installed services in.
LogIn
POST http://<My drupal website>/<Path to endpoint>/user/login
Request Payload:
{
"username": "<username>",
"password": "<password>"
}
LogOut
POST http://<My drupal website>/<Path to endpoint>/user/logout
Request Payload:
{
"username": "<username>",
"password": "<password>"
}
No comments:
Post a Comment