You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.
I made a simple service using "db-connected" and it was created nicely.
But when I make a simple GET request to list all of my users, the response is 200 and anything appear in response. But when I make a GET informing an ID it works fine. POST and DELETE requests are working fine too.
The text was updated successfully, but these errors were encountered:
The "select" query is been executed in database because I'm got it in logs of mysql but the code it seems always null.
If I run the query in my client database, I get the result correctly.
It happens because I didn't set the driver option DO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES UTF8" and I had some words with accent. But the problem is that any error is displayed. I think it should throw some exception and not success (200) without any item in body of response.
I made a simple service using "db-connected" and it was created nicely.
But when I make a simple GET request to list all of my users, the response is 200 and anything appear in response. But when I make a GET informing an ID it works fine. POST and DELETE requests are working fine too.
The text was updated successfully, but these errors were encountered: