Nisa Khalid
Posts: 0
Joined: Tue May 05, 2015 1:36 pm

can't pass data to sql database

i have issues where i can't pass my data to sql database,before this i managed to put my registration data to sql database, but in this few day i can't do it anymore,i didn't change my database table and javascript? why is it happen? whenever i click register it will keep loading

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

can't pass data to sql database

Hi Nisa -

Are you getting any error messages? If yes, can you send us the messages/screens shots?

Nisa Khalid
Posts: 0
Joined: Tue May 05, 2015 1:36 pm

can't pass data to sql database

i already solve this by delete the existing model that i use in api express project and create new one

i have question how can i display the data from sql database?
i already pass the data for registration which is include (id,username,fullname,email,password,and phone number), the id is auto increment,my question is how can i display it after successfully registered?i'm using rest service GET,but when i test this happen:
Image
the id is auto,how can i do this?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

can't pass data to sql database

Hello Nisa,

Do you use settings service? What data do you sent in headers? Please send us screenshots with such information.

Nisa Khalid
Posts: 0
Joined: Tue May 05, 2015 1:36 pm

can't pass data to sql database

here my screenshot i'm using to display data?

Image

Image

Image

it display all data when i test the service, but for this page i want to display after they registered,how can i do that?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

can't pass data to sql database

Hi Nisa -

It's up to your app logic, the service is just a REST representation of a call to your database and it returns fields that are in query.

Return to “Issues”