Hi Fatima,
The way to upload the file seems to vary from app to app, and it’s not something I’ve done myself, but there are examples on the forum of people who’ve succeeded, I’ll give you a few links to look at:
- Uploading files with auth
- I am getting error 400 on automating POST API with file upload(string($binary))ad(
- Facing Issue with testing File Upload API using robot framework
Hopefully one of those will help you.
Dave.