jonathanpeterwu / tab

Tab: Seamless Payments
0 stars 0 forks source link

Rails API authentication on POST routes etc #6

Open jonathanpeterwu opened 9 years ago

jonathanpeterwu commented 9 years ago

Hey @katherineimogene no rush on this but was wondering if you knew how to do authenticated POST requests to the app outside of a rails form. Do you guys do that at work?

Resources Building Restful APIs Minimal Authentication for APIs

jonathanpeterwu commented 9 years ago

@katherineimogene

Hey just a thought, not sure if you've ever dived into the rails-api gem.

https://github.com/rails-api/rails-api

katherineimogene commented 9 years ago

@jonathanpeterwu you read my mind. I think I'd like to pivot a little and make the whole backend behave like an API. It'll make both our lives easier. More deets soon!

jonathanpeterwu commented 9 years ago

I agree! Here's some rails-api GEM tutorials if you wanna check them out

Rails API Tutorial https://www.amberbit.com/blog/2014/2/19/building-and-documenting-api-in-rails/ http://railscasts.com/episodes/348-the-rails-api-gem https://github.com/rails-api/rails-api