hayata
5 years agoAce
http.client request error
I am trying to make a call something like this:
<#assign response = http.client.request("https://example.com/rest/search/token").header("Authorization", "Bearer zzzzxxxxeeeyyyzzz").header("content-type", "application/json").body('{"userIds":[{"name": "testuser","provider": "test"}], "search": "search"}',"application/json").post()/>
But, I am getting an error:
An error has occurred when reading existing sub-variable "client"; see cause exception! The type of the containing value was: extended_hash+string (lithium.coreapi.webui.template.models.HttpTemplateModel wrapped into f.e.b.StringModel)
What does this error mean?