Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP endpoint #11

Open
liammclennan opened this issue Oct 22, 2014 · 0 comments
Open

HTTP endpoint #11

liammclennan opened this issue Oct 22, 2014 · 0 comments

Comments

@liammclennan
Copy link
Owner

A separate project, depending on PostgresDoc, that exposes PostgresDoc unit of work as an HTTP post. Not restful because I don't want to lose transactionality.

curl -X POST http://domain/ -d '[ 
    { verb: 'insert', type: 'Person', id: 1, entity: { name: 'Bob', age: 93} },
    { verb: 'update', type: 'Person', id: 1, entity: { name: 'Bob', age: 94} }
]'

Combined with #10 and some authentication this is a basic BaaS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant