Skip to content

Tag: rest

extend existing API with custom endpoints

I’m creating an API for multiple customers. The core endpoints like /users are used by every customer but some endpoints rely on individual customization. So it might be that User A wants a special endpoint /groups and no other customer will have that feature. Just as a sidenote, each customer would als…

Returning data from Axios API [duplicate]

This question already has answers here: How do I return the response from an asynchronous call? (41 answers) Closed 3 months ago. I am trying to use a Node.JS application to make and receive API requests. It does a get request to another server using Axios with data it receives from an API call it receives. T…

VueJS pass all props to child component

I am quite new to VueJS. In react you can easily use rest params for passing props to children. Is there a similar pattern in Vue? Consider this parent component that has a few children components: What I don’t like is that the props are named-spaced with the key config, or any other arbitrary key. The …