I need to write a test for a web service that makes a request like the following:
curl -X POST -v -F 'id=1234' -F 'name=blah.png' -F 'contentType=image/png' -F 'file=@somefile.png' path/to/some/endpoint
The documentation: robot request documentation , doesn't suggest that it has a method to mock forms. I'm I missing something or do I need to write some python code outside of the robot request library to make a request like this?
Thanks!
Aucun commentaire:
Enregistrer un commentaire