feat(Debug): DEbug de url
This commit is contained in:
parent
557ad241d1
commit
c6cb1368c4
1 changed files with 2 additions and 2 deletions
|
|
@ -46,10 +46,10 @@ export default class API {
|
|||
const filteredBody = _data.body ? Object.fromEntries(Object.entries(_data.body).filter(([_, v]) => v != null && v !== "")) : null;
|
||||
|
||||
|
||||
console.log("URL:: " + `${this.ApiSchema.url}${this.ApiSchema.prefix}/administrativo/g_usuario/authenticate`)
|
||||
console.log("URL:: " + `http://api-saas-api-homologacao:8000/administrativo/g_usuario/authenticate`)
|
||||
|
||||
// Realiza a requisição
|
||||
const response = await fetch(`${this.ApiSchema.url}${this.ApiSchema.prefix}/administrativo/g_usuario/authenticate`, {
|
||||
const response = await fetch(`http://api-saas-api-homologacao:8000/administrativo/g_usuario/authenticate`, {
|
||||
method: _data.method,
|
||||
headers: {
|
||||
"Accept": `${this.ApiSchema.contentType}`,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue