How to send files via API in custom script Netbox? #19163
Unanswered
bluesprogrammer-Python
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
May I ask you to give me some advice or hint - how to send a file to File Var field in a custom script via API?
I am using netbox instance v.4.1.6 and requests library to start my netbox custom-scripts.
I tried:
And get:
Screenshot of my script

Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions