How can I implement a post method in Shopify cli?

I’m using Shopify cli and looking at the code I don’t know how to do , get , post , or put depending on what I need, is there a way to use routes in Shopify