What language/framework are you using? If it's a publicly accessible API 
you don't really need to do anything. Just make sure there aren't any 
authentication requirements and your route returns should be json instead 
of rendering any HTML. With flask, I recommend the flask.jsonify method. If 
you have any private endpoints, I'd recommend a 3rd party auth provider 
like auth0. 

On Monday, March 18, 2019 at 3:59:29 AM UTC-6, Madeesha Fernando wrote:
>
> I have a backend application deployed on Heroku. I need to expose my 
> application as an API. what is the best way to do this?
> Appreciate your valuable thought on this.
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Heroku" group.

To unsubscribe from this group, send email to
heroku+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Heroku Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to heroku+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to