1 Reply Latest reply on Jun 18, 2008 2:41 AM by anirudhs

    HTTP Service HTTP Headers

    thewarpedcoder
      I am currently writing a UI into a Rails backend. The first task is to pass the user and password and retrieve the authentication token back.

      This works great after finding out Firefox and Safari sent different requests.

      The next task is to use this token to authenticate when updating or adding new records.

      I have the issue that I have base 64 encoded the token and tried very unsuccessfully to set the AUTHORIZATION header with the value.

      Im guessing that I am doing something stupid but I cannot find any detailed docs on how to set HTTP headers.

      Which brings me onto the point of how do you also check HTTP status on return.

      Hope somebody can shed some light.