# HG changeset patch # User Sebastien Jodogne # Date 1762950549 -3600 # Node ID 6c6c0f2d6fae377593ba03f64ea6141058aeb984 # Parent 3bb9ebd283ceebcfd98bdb56255db9af72993521 fix spelling of Rest API as REST API diff -r 3bb9ebd283ce -r 6c6c0f2d6fae NEWS --- 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 diff -r 3bb9ebd283ce -r 6c6c0f2d6fae WebApplication/viewer.js --- 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( {