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

Add some documentation on how to use #94

Open
advance512 opened this Issue Feb 6, 2017 · 0 comments

Comments

4 participants
@advance512

advance512 commented Feb 6, 2017

e.g.:

Connect to Postgres, do:

CREATE TABLE prest.public.test2
( 
  intField integer,
  strField VARCHAR(40)
);

then:
GET: http://localhost:3000/prest/public/test2
get empty results

then:
POST http://localhost:3000/prest/public/test2

{
    "data": {
        "strField": "string value",
        "intField": 1234567890
    }
}

then:
GET: http://localhost:3000/prest/public/test2
get expected results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment