How to make a POST (ReST) API in Robot framework with
问题 I need to replicate the below API call in Robot Framework: curl -X POST "http://xyz/api/createApp" -H "Content-Type:application/json" -d @/tmp/testfile.json testfile.json has a json payload. I cannot send the content of Json file as body. I have imported the HTTP libraries. But do not see any key-word to make an API call with file. 回答1: http://bulkan.github.io/robotframework-requests/#Post has files parameter. And what you could do is use Get File keyword from OperatingSystem library and pass