D
D
DemonFromIrk2019-03-08 17:04:35
Vue.js
DemonFromIrk, 2019-03-08 17:04:35

How to use api in requests?

I am using Flight for api. To get data, I should have such a request: GET /@token/orders/@orderID
Before that, in vue, in the method, I sent a request to the handler page like this:

$.post('/order',
    {
        act: 'getMeta',
        order: this.orderID
    })

Such parameter passing is clear to me. And how to make the transfer of parameters in a new situation, right in the line?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Anton, 2019-03-14
@Fragster

I did not understand that, it is impossible to add a string from substrings? If you want stylish fashionable modern, then you can use https://developer.mozilla.org/ru/docs/Web/JavaScri... , if not, then https://developer.mozilla.org/ru/docs/Web/ JavaScri... or even +
Everything in conjunction with https://developer.mozilla.org/ru/docs/Web/JavaScri... , of course

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question