Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: Sending FORM/POST parameters to a webservice

  1. #1

    Default Sending FORM/POST parameters to a webservice

    Hello,

    I am trying to POST a query to a webservice using FORM/POST parameters and I am not being able to do it.

    Testing on Requestb.in I have tried using REST Client and HTTP POST objects but the parameters are being sent as QUERYPARAMETERS or as part of the raw body of the request:

    Name:  image.jpg
Views: 774
Size:  12.5 KB

    The result I need is something like this:

    Name:  Captura.jpg
Views: 752
Size:  13.5 KB

    Do you know how can I do it on Kettle?

    Thank you for your help!

  2. #2

    Default

    UPDATE:

    I was able to do it by putting Content-Type = application/x-www-form-urlencoded as header parameter.

    You can close this thread.

  3. #3

    Default

    Hi Martin,

    Are you using Rest client?

    We need to post json file with some header values.

    Trying to understand how to use Header tab from rest client to send header values..



    Thanks
    Abhijeet

  4. #4

    Default

    Sorry for my late response. I'm not using the rest client but the HTTP Post one. However I recommend you using Postman, it's a chrome app that allows you making all the tests you want. At the same time, using requestb.in you can see the output of all your tests.

    Good luck!

Tags for this Thread

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.