Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: Retrieve HTTP POST data with carte

  1. #1
    Join Date
    Mar 2010
    Posts
    13

    Default Retrieve HTTP POST data with carte

    Hi!

    Is it possible to retrieve the data part of a HTTP POST request with carte? Example: curl -X POST -H "Content-Type: application/json" -d '{"Key" : "A","Value" : "B"}' https://carte/?trans=test.ktr

    Fetching data as parameter defined in the URL works fine, but I have the problem that I get values in the data part that I would like to process with a transformation. Is there any way to do that?

  2. #2
    Join Date
    Mar 2010
    Posts
    13

    Default

    Hey guys

    Just as a follow up in case you're having the same issue: I ended up using some php that parses the json POST and rewrites to the URL string so carte can handle it (carte was reverse-proxied by apache anyway). I read somewhere in the forum that POST handling of carte was a feature planned in PDI 5 but didn't find any docu about that. I'm curently using a freshly compiled PDI 5.1 So if anyone knows more about this feature then let me know.

    Thanks!

  3. #3

    Default

    Akku:

    Did you ever find a way to have carte consume a POST? I have not seen any docs on this either.

    Kevin

  4. #4
    Join Date
    Jun 2014
    Posts
    18

    Default Same question

    Quote Originally Posted by kevin.haas@openbi.com View Post
    Akku:

    Did you ever find a way to have carte consume a POST? I have not seen any docs on this either.

    Kevin
    i'd love to know if this could be done, also!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.