1
I have a request for the back-end and your URL is very large.
this
.$http
.get(`backoffice/usuarios/${this.id}/grupo/${this.grupo}/filial/${this.filial}/multinivel/${this.multinivel}`)
.then(({ data }) => {
this.items = data
})
})
Since I am using Template Strings ES6 Javascript, I would like to know how to perform a line break without it putting the spaces (%20) in the request.
I know I can break into several constants using const
, but I wonder if there is a way to accomplish the line break
easily with ES6.
I tried with '/n', enter normal, and it didn’t work.
The request is made in a Vuejs2 project.