How to post docker-compose.yml / rancher-compose.yml in rancher api?

Hello - I could see an option in “Add Stack” to paste docker-compose.yml and rancher-compose.yml

I’d like to know how to post those YAML files in rancher API.

Could you please advise.

I’m not an API expert, but here are some docs that might help you get started.

Thanks Denise. This is what, I was looking for.

These links aren’t working now… please provide the valid links that we can look for hosting the services through rancher

Googling “Rancher api” brought up this site: I think that’ll cover your needs!