Mysql Database Request $HTTP Api

Asked

Viewed 242 times

0

People I see in courses and video lessons the staff ultilizando essa $http when making requests with Angularjs, only that they always pass a friendly url when making the connection and I do not know how they do it because type they do not pass nor user, no password, nothing, and still manage to make the connection and I get kind of misunderstood and I can’t proceed with the course with or with the tutorial

1 answer

1


Angularjs is executed on the client side a request is made for a URL, this URL must be provided by an APACHE application server, NODEJS among others. The tutorials that you must follow, should abstract the logic of the server where there is made the connection with the database, the query and the treatments.

I suggest you watch the videos from Rodrigo Branas he has a video about integration with the backend.

  • I was watching was just his videos and out of nowhere he came up with the following URL "localhost:3412/contacts" and using only this URL he managed to get, post, put, delete, did everything....

  • He is using Nodejs, follow the order of his videos that you will understand, sometimes he just demonstrates some function, but there are other videos explaining about Nodejs.

  • Know some API to do this with mysql?

Browser other questions tagged

You are not signed in. Login or sign up in order to post.