Posts by Matheus Galdino • 11 points
3 posts
-
0
votes2
answers825
viewsA: Error in Restful API authentication with Curl PHP
Hello, to check this endpoint, according to the documentation, you need to make the call using the GET method, and also, do it by passing the token per parameter, as you did earlier. curl -X GET \…
-
1
votes2
answers738
viewsA: How to simulate Login using Javascript
You can try to catch using the document.getElementById("login"), e alterando a estilização através dostyle`. if (condição for true) { document.getElementById("login").style = 'none'; }…
-
0
votes3
answers430
viewsA: Assign return of findOne to a global variable Node Node.js
You can try to put in a callback function intended to find an error if it exists. For example: try { global.pedido = db.collection('configuracoes').findOne({ parametro: "pedido_num"}); } catch…