feat(Debug) Debugando url do fetch
This commit is contained in:
parent
c95380c932
commit
b936df520a
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ export default class API {
|
|||
// Verifica se existe body para envio
|
||||
const filteredBody = _data.body ? Object.fromEntries(Object.entries(_data.body).filter(([_, v]) => v != null && v !== "")) : null;
|
||||
|
||||
console.log(`${this.ApiSchema.url}${this.ApiSchema.prefix}/${this.ApiSchema.endpoint}`)
|
||||
console.log("URL:: " + `${this.ApiSchema.url}${this.ApiSchema.prefix}/${this.ApiSchema.endpoint}`)
|
||||
|
||||
// Realiza a requisição
|
||||
const response = await fetch(`${this.ApiSchema.url}${this.ApiSchema.prefix}/${this.ApiSchema.endpoint}`, {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue