Need to authenticate a REST request using the Hash method, but I think this case is a bit more complicated.
Normally, you can authenticate (using the procedure at https://docs.kentico.com/display/K8/Authenticating+REST+requests) an URL like this
http://mywebsite.com/rest/ ... /news?format=json
so, the adress becomes something like:
http://mywebsite.com/rest/ ... /news?format=json&hash=527875d49dd120b681cfd58b603f434836c4d93706ad797
BUT, how to get the hash working, when the url is dynamic ? (the '%QUERY' is replaced by JQuery, allowing the user to typeahead some string, so REST can answer only with the needed information)
like in
http://mywebsite.com/rest/content/currentsite/en-us/all/news?format=json&title=%QUERY
So really, if I'm searching for 'kentico' the url to authenticate becomes:
http://mywebsite.com/rest/content/currentsite/en-us/all/news?format=json&title=k
then
http://mywebsite.com/rest/content/currentsite/en-us/all/news?format=json&title=ke
then
http://mywebsite.com/rest/content/currentsite/en-us/all/news?format=json&title=ken
then
http://mywebsite.com/rest/content/currentsite/en-us/all/news?format=json&title=kent
and so on
Any ideas ? (keeping the hash method) Server is answering with a boring 403 error.
Thanks !
Juan