0 Replies Latest reply on Oct 18, 2007 3:50 AM by Przemysław Wojewódka

    External POST & redirect problem

    Przemysław Wojewódka Newbie

      I'm tryin' to the same as follows:

      FacesContext.getCurrentInstance().getExternalContext().redirect("https://externalHost.sth?id=200")


      but using POST method instead of GET. So I want to pass params (id=200) by POST to external service and do redirect at the same time. Any idea how to do it? :)


      I able to POST params using 'Http Client' (outside webbrowser) but I have problem to redirect. So probably it is not the right way and it's working only outside browser.

      Thanks in advance :)