Handling Asset Files with API not working #16135
Labels
api
✋ bug
Confirmed bug
👩💻 ready for dev
These issues are ready for someone to work on them - take your pick!
Hello,
I try to use the API to upload or list files of an asset, but in both cases it's not working and I have the same response :
Even for the GET request to list files I have the message "File(s) successfully uploaded" that is weird.
To debug I try to do a simple request to retrieve an asset :
GET http://<snipe.it.url>/api/v1/hardware/652/ with my api key.
This works well:
But for these requests :
GET http://<snipe.it.url>/api/v1/hardware/652/files
and
POST http://<snipe.it.url>/api/v1/hardware/652/files
It's not working and I have the weird response :
I also try to add manually a file in my asset through the dashboard but here is no change...
The text was updated successfully, but these errors were encountered: