Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. diogo.dias_7939

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    D Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 0

    diogo.dias_7939

    @diogo.dias_7939

    0
    Reputation
    10
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    diogo.dias_7939 Unfollow Follow

    Latest posts made by diogo.dias_7939

    • 404 Error when pushing to .config endpoints

      Hi guys,

      I think i found a bug, when i am trying to push a file (of any extension) to an endpoint that ends with .config, I receive a 404 as response. For example:

      When i send this request:

      curl https://<<domain>>/endpoints/<<feed>>/content/somepath/exampleEndpoint.config --upload-file somefile.config --user user:pass

      I receive:

      <div id="content">
      <div class="content-container"><fieldset>
      <h2>404 - File or directory not found.</h2>
      <h3>The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.</h3>
      </fieldset></div>
      </div>
      </body>

      But if i change my request to:

      curl https://<<domain>>/endpoints/<<feed>>/content/somepath/exampleEndoipint.config.xpto --upload-file somefile.config --user user:pass

      It responds with success.

      The 404 doesn't make sense because the asset at that endpoint doesn't exist because i am trying to push/create the asset. And if I change the endpoint from .config to other extension it gives me a success response. I am consuming this API 'https://docs.inedo.com/docs/proget/reference/api/asset-directories-api'. The previous requests are PUT.

      Can someone tell me if its a bug or I am making some mistake.
      Thanks for your time.

      posted in Support
      D
      diogo.dias_7939