Customer Portal

http component request method

Comments 1

  • Avatar
    admin
    0
    Comment actions Permalink
    Hi pOctavian,

    I am not sure whether I did't answer your question on support few days ago. If yes, just ignore this :-)

    You've right, PUT is not supported. There is feature request https://bug.javlin.eu/browse/CL-2223

    If you have control over your server, you can use POST instead and add extra
    parameter like "_method=PUT". Then in routing layer of the server (e.g. Rack
    middleware for Ruby) you can change HTTP method based on delivered parameter.

    If you don't have control over server, you can use SystemExec component and
    comamnd line tool like cUrl (see http://curl.haxx.se/docs/httpscripting.html). So
    first, persist your request data into file, then build command line, execute and
    then check result.

Please sign in to leave a comment.