Mercurial > hg > orthanc-webviewer
changeset 334:6c6c0f2d6fae
fix spelling of Rest API as REST API
| author | Sebastien Jodogne <s.jodogne@gmail.com> |
|---|---|
| date | Wed, 12 Nov 2025 13:29:09 +0100 |
| parents | 3bb9ebd283ce |
| children | f499b5085015 |
| files | NEWS WebApplication/viewer.js |
| diffstat | 2 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/NEWS Mon Sep 01 11:51:59 2025 +0200 +++ b/NEWS Wed Nov 12 13:29:09 2025 +0100 @@ -38,8 +38,7 @@ "OrthancPluginRegisterRestCallbackNoLock" * Authorization tokens passed as url search params in Orthanc Explorer are now transmitted to the viewer and included as headers in every - HTTP request to the Rest API easing the usage of the Authorization - plugin + HTTP request to the REST API easing the usage of the Authorization plugin * Upgrade to Orthanc framework 1.7.0
--- a/WebApplication/viewer.js Mon Sep 01 11:51:59 2025 +0200 +++ b/WebApplication/viewer.js Wed Nov 12 13:29:09 2025 +0100 @@ -51,8 +51,8 @@ var authorizationTokens = GetAuthorizationTokensFromUrl(); -/* Copy the authoziation toekn from the url search parameters into HTTP headers in every request to the Rest API. -Thanks to this behaviour, you may specify a ?token=xxx in your url and this will be passed +/* Copy the authoziation token from the url search parameters into HTTP headers in every request to the REST API. +Thanks to this behaviour, you may specify a ?token=xxx in your url and this will be passed as the "token" header in every request to the API allowing you to use the authorization plugin */ $.ajaxSetup( {
