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

structure of data for api call #26

Open
iamshivam007 opened this issue Jul 21, 2016 · 0 comments
Open

structure of data for api call #26

iamshivam007 opened this issue Jul 21, 2016 · 0 comments

Comments

@iamshivam007
Copy link
Contributor

When student update details. what will be the structure of json data for API call

  1. We can send all data in one API call.
    prons: only one API have to call
    cons : when student made a small update we have to send whole data for updation.

  2. We cal call one API per database table model.
    prons: when student update information we have to send only related model data
    cons: we have to call five API first time when user create profile and fill all data.

    More suggestion are welcome..

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