Requiesce
A request part maker for lazy developers. You can pass it a parameterized url and an object, and it will return a valid url and a body object with the remaining data not used in url completion.
Example
const requestUrl = `https://api.mysite.com/accounts/:id/assets/:assetId`const requestBody = id: 12345 assetId: 67890 type: 'image' const url body = // url: https://api.mysite.com/accounts/12345/assets/67890// body: { type: 'image' }