Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Great question (was also my problem) and even better answer; this works in bash (eg with curl) and in Python (eg with requests). All examples are always with simple interface names, even here at DevNet, but in my network most interface names are like...