Page 1 of 1

can't pass data to sql database

Posted: Sun Jun 28, 2015 3:00 pm
by Nisa Khalid

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


can't pass data to sql database

Posted: Sun Jun 28, 2015 6:03 pm
by Illya Stepanov

Hi Nisa -

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


can't pass data to sql database

Posted: Sun Jun 28, 2015 7:24 pm
by Nisa Khalid

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?


can't pass data to sql database

Posted: Tue Jun 30, 2015 8:51 pm
by Serhii Kulibaba

Hello Nisa,

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


can't pass data to sql database

Posted: Wed Jul 01, 2015 3:47 pm
by Nisa Khalid

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?


can't pass data to sql database

Posted: Sat Jul 04, 2015 5:11 am
by Illya Stepanov

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.