Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-14315

Not possible to get server config over REST

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 14.0.3.Final, 15.0.0.Final
    • 14.0.2.Final
    • REST
    • None

      The following request http://localhost:11222//rest/v2/server/config with GET method shows error eventhough there is no exception in the logs.

      java.lang.IllegalArgumentException: application/xml; q=0.9

      This happens only if the request is sent over browser. If I am sending request of CURL command from cmd line, then the config is shown properly. I guess it happens because wrong headers are sent over browser, wdyt?

       

              ttarrant@redhat.com Tristan Tarrant
              amanukya@redhat.com Anna Manukyan
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: