I am working with Splunk add on builder to create REST API input.
I have put REST API e.g. https://abc.com/results?format=json in REST URL and passing username and password as data input parameters.
But I am getting below error:
The response status=401 for request which url=https://abc.com/results?format=json and method=GET
No other parameter has been added.
Can anyone help me to resolve this?
I believe there is an issue with authentication. first find authentication type supported by REST API. If its oauth2 then you can't achieve with default functionality of Splunk Add-on Builder. you need to write your own code.