ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

In-Fo LIBHTTP

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • In-Fo LIBHTTP

    Hi
    i would need to call some Web service that require, when called from a java client , the properties "?setMaintainSession" setted to true;
    question : is there a way to set a similar parameter if i use LIBHTTP ?
    Thanks in advance

  • #2
    What is "In-Fo"? Do you mean "info"? (a common abbreviation for "information")

    What does "setMaintainSession" do? Without knowing what it does, its hard to tell you how to do it in HTTPAPI.

    Comment


    • #3
      Hi Scott
      sorry for in-fo/info ..

      in the Web Service documentation i find :
      "enable session management on the client that will connect to the web service:
      JAVA: setMaintainSession set to true;
      NET: allowCookies = true ?at binding level.
      JAVASCRIPT: xhr.withCredentials set to true on the XMLHttpRequest object"

      so my question was : how can manage this request with LIBHTTP ?

      Thanks in advance

      Comment


      • #4
        Your goal is to allow cookies to be set when connecting to more than one domain? HTTPAPI allows that by default, there is no need to set an option.

        The name of the tool is HTTPAPI (not LIBHTTP).

        Comment

        Working...
        X