Pentaho

 View Only

Rest Client API Example

This thread has been viewed 9 times
  • 1.  Rest Client API Example

    Posted 02-26-2024 17:41

    Hello,

    Does anyone have an example on how to use the REST Client step? 

    This is what I am doing:

    • url field name = url
    • http method = GET
    • Result field name = result
    • http status code field name = http_status_code
    • headers:
      • Field = authorizationWithToken_param
        • Name = Authorization
      • Field = accept_param
        • Name = accept
      • Field = content-type_param
        • Name = content-type
      • Field = properties_grab
        • Name = properties
      • Field = limit
        • Name = limit

    Do you know why I keep getting more than 1 row back? In the "generate rows" step, I have "limit" set to 1.

    Thank you



    ------------------------------
    Leo Helfer
    Others
    Amplifire
    ------------------------------