Extras Image Attachment fails due to incorrect content type #520
Labels
pynetbox
status: needs owner
This issue is tentatively accepted pending a volunteer committed to its implementation
type: bug
A confirmed report of unexpected behavior in the application
Attempting to attach an image to dcim.device using this sample code:
Catching RequestError
I believe the issue is that the Content-Type should be set to "multipart/form-data" for this to work.
Any suggestions are appreciated, is there a way to change content-type here? Or am I missing something simple?
The text was updated successfully, but these errors were encountered: