Documentation

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
jvx:common:util:rest [2020/07/22 13:16]
cduncan Edited for English grammar (capitalization, punctuation, correct verb conjugation)
jvx:common:util:rest [2020/07/24 23:39]
admin
Line 40: Line 40:
   * [[#​test_authentication|Test authentication]]   * [[#​test_authentication|Test authentication]]
   * [[#​change_password|Change password]]   * [[#​change_password|Change password]]
 +  * [[#​check_database|Check database]]
  
 === Test Authentication === === Test Authentication ===
Line 87: Line 88:
  
 If the password has been changed, no response is generated and the status code is 204 (SUCCESS_NO_CONTENT). If the password has been changed, no response is generated and the status code is 204 (SUCCESS_NO_CONTENT).
 +
 +=== Check database ===
 +
 +Test URL:​\\ ​
 +''<​nowiki>​http://​server:​port/​webapp/​services/​rest/</​nowiki>​**<​fc #​BF0000>​APPLICATION_NAME</​fc>​**/​_admin/​**<​fc #​BF0000>​testAuthentication</​fc>​**''​
 +
 +== GET-Response ==
 +
 +If the check was successful, no response is generated and the status code is 204 (SUCCESS_NO_CONTENT). If database is not available, status code 500 (SERVER_ERROR_INTERNAL) will be returned. It's also possible that the configuration can't be found. In this case, status code 503 (SERVER_ERROR_SERVICE_UNAVAILABLE) will be returned.
  
 === Custom Services === === Custom Services ===
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information