Please sign in to comment.
Create a post from postmark
- Loading branch information...
Showing with 13 additions and 0 deletions.
|@@ -0,0 +1,13 @@|
|+class Api::PostsController < ApplicationController|
|+ def create|
|+ # make sure the thing posting has rights to post here... maybe with|
|+ # http basic auth or a super secret token|
|+ # do a bunch of stuff like send an email back if the user can't be|
|+ # found, doesn't exist, etc.|
|+ render :text => "Created a post!", :status => :created|