AnsweredAssumed Answered

How do I use the HTTP Post Operator with Service Desk to retrieve an access key

Question asked by Grant Bruneau Champion on Nov 22, 2017
Latest reply on Dec 8, 2017 by Michael Mueller



I'm trying to use the HTTP Get operator to retrieve a rest access_key for Service Desk Manager and am having trouble figuring out how to get it to work.  I've successfully retrieved an access key in SoapUI using the following techdoc.  In that document, it has you add <rest_access/>  to the request header, I don't see where to put this in the HTTP Get Operator and am thinking that may be the problem.


Error message in SDM jrest.log file

11/22 09:33:46.273 [http-nio-8050-exec-9] ERROR DalUtilities 180 Invalid REST Access Key (null) provided via X-AccessKey header.
11/22 09:33:46.273 [http-nio-8050-exec-9] ERROR SDMCRUDServiceImpl 1592 Error retrieving a collection of 'rest_access' resources. Invalid REST Access Key (null) provided via X-AccessKey header. 



If someone has an example that they can share that would be helpful.


Thank you!


Edit: This has been solved.  An example process has been attached to this post.  It gives an example of how to retrieve a rest access key using Basic HTTP authentication.


Thank you ritri01 and Andy_Thompson for the assistance!