I have a request for the backend and its URL is quite large.
this
.$http
.get('backoffice/usuarios/${this.id}/grupo/${this.grupo}/filial/${this.filial}/multinivel/${this.multinivel}')
.then(({ data }) => {
this.items = data
})
})
Since I'm using Template Strings from the ES6 Javascript, I'd like to know as I perform a line break without it placing the spaces (% 20) in the request.
I know I can break into multiple constants using const
, but I wonder if there is a way to perform line wrap
easily with ES6.
I have tried with '/ n', enter normal, and it did not work.
The request is made in a Vuejs2 project.