best practices in exposing application API for integration

Hello all,

i'm new to Ruby , i' asking about the best way of exposing the
application functionalities as API to be used as integration point
using normal HTTP GET,POST

thanks in advance.