Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

Β View Only
  • 1.  Maximo end point properties for HEADER

    Posted Thu May 23, 2024 07:04 AM

    Hi,

    We are doing an oslc call using postman and are using native authentication. In postman header properties we are using maxauth with base64 encoded values and testing it. This works fine. We have end point in Maximo where we can set the values for HEADER attribute. Can we put maxauth here in the HEADER in Maximo end point? If yes what is the format?



    ------------------------------
    Suhas Joshi
    Pune
    ------------------------------


  • 2.  RE: Maximo end point properties for HEADER

    Posted Thu May 23, 2024 07:41 AM

    Hi Suhas,

    Within the endpoint paramaters, you can specify the HEADER value as a comma seperated list of key-value pairs. Like the below πŸ‘

    Content-Type: application/json, maxauth: {BAE64 STRING}



    ------------------------------
    Joshua Conneely
    ------------------------------



  • 3.  RE: Maximo end point properties for HEADER

    Posted Thu May 23, 2024 07:51 AM

    Thanks Joshua,

    I have used exact same thing as you have given (added maxauth inside the brackets) but still I am getting below error.

    Error response.Response Code :401. Response Message:Unauthorized
    psdi.util.MXSystemException: BMXAA1482E - The response code received from the HTTP request from the endpoint is not successful.
    	Unauthorized


    ------------------------------
    Suhas Joshi
    Pune
    ------------------------------



  • 4.  RE: Maximo end point properties for HEADER

    Posted Fri May 24, 2024 01:04 AM

    Include the Basic keyword in the header
    maxauth: Basic bXhp...........XhpbnRhZG0=



    ------------------------------
    Tim Singline
    TasWater
    Launceston AU
    03 6333 9320
    ------------------------------