Open marino-mrc opened 2 years ago
Hi, I'm trying to reproduce the following curl command using toolbelt:
curl --include -X POST --form "instance[name]=Test Instance" --form "instance[file]=@testfile" http://192.168.122.127:3002/instances
Basically I have a "nested" dictionary with a file inside it: { 'instance': { 'name': "Test Instance", 'file': @testfile}
Please, can you share an example on how to do this? Thank you. Marco
Hi, I'm trying to reproduce the following curl command using toolbelt:
curl --include -X POST --form "instance[name]=Test Instance" --form "instance[file]=@testfile" http://192.168.122.127:3002/instances
Basically I have a "nested" dictionary with a file inside it: { 'instance': { 'name': "Test Instance", 'file': @testfile}
Please, can you share an example on how to do this? Thank you. Marco