Hi all,
Due to the testing of API V4_1 services, I found the session ID is still alive even if I used method=logout to send the request. How’s to clear the last session ID?
Last obtained session is “1234567890”.
STEP 1 - Logout the session
Hyperlink : http://xxx.xxx.xxx.xxx/appname/service/v4_1/rest.php?method=logout&input_type=JSON&response_type=JSON&rest_data={“session”:“1234567890”}
STEP 2 - Paste the hyperlink in browser
Hyperlink : http://xxx.xxx.xxx.xxx/appname/
Result : Show login screen, correct
STEP 3 - Paste the hyperlink in browser
Link : http://xxx.xxx.xxx.xxx/appname/service/v4_1/rest.php?method=get_entry_list&input_type=JSON&response_type=JSON&rest_data={“session”:“1234567890”,“module_name”:“ZA_hello”,“query”:“name=‘New York’”}
Result : I get the result from browser.