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.