Answer the question
In order to leave comments, you need to log in
How to dynamically change address and request params of vue-resource?
I want to use this: https://github.com/pagekit/vue-resource
There is a module like this:
import Vue from 'vue'
const resource = Vue.http;
class UiRequest {
getParameters : {
id:2,
provider: 'custom'
}
async executeGetRequest(addreess) {
const result = await resource.get("inputPoint",{params:this.parametersRequest});
const data = await result.json();
await console.log(data);
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question