Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. michal.roszak_0767
    3. Posts
    M
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by michal.roszak_0767

    • API request Unauthorized on Windows

      "Fresh" installation on Windows server.
      ProGet v.2024.32

      I'm trying to make simple API request.
      curl -v --header "X-ApiKey: ******* " http://******:8624/api/json/Security_GetPrivileges

      Response:

      • Trying ****:8624...
      • Connected to ******* port 8624 (#0)

      GET /api/json/Security_GetPrivileges HTTP/1.1
      Host: *****:8624
      User-Agent: curl/7.84.0
      Accept: /
      X-ApiKey: *******

      • Mark bundle as not supporting multiuse
        < HTTP/1.1 401 Unauthorized

      If I run ProGet on Linux (docker), the response on the same request is:
      Connected to ********* port 8080 (#0)

      GET /api/json/Security_GetPrivileges HTTP/1.1
      Host: ******:8080
      User-Agent: curl/7.84.0
      Accept: /
      X-ApiKey: ********

      • Mark bundle as not supporting multiuse
        < HTTP/1.1 200 OK

      Where is the problem?

      posted in Support
      M
      michal.roszak_0767
    • 1
    • 2
    • 2 / 2