fastjs-team / core

Fastjs is a useful, lightweight JavaScript library for any types of project.
https://fastjs.dev
MIT License
341 stars 37 forks source link

feat(core/request): add query parameters to URL #128

Closed duowb closed 1 month ago

duowb commented 1 month ago

Automatically add parameters by parsing the configuration of the URL

https://reqres.in/api/users/2
url:
https://reqres.in/api/users/:id
query:
{
    id: 2
}
xiaodong2008 commented 1 month ago

Thanks for your contribution!