In my react app, i have a tags input and a list of tags, each tag has an id and what I'm doing is when the user chooses any of tags I'm taking it's id and adding it to a url as a param, the thing is that i want to have this param multiple times, but the issue I'm facing is when i add a new one the old one gets removed, here is the code:

```
handleAddition(tag) {
    this.setState(state => ({ tags: [...state.tags, tag] }));

    let url = new URL('https://myapp.com/subjects');
    url.searchParams.append("tags", `${tag.id}`);
    let requestUrl = url.toString();

    axios
      .get(`${requestUrl}`, { headers })
      .then(response => {
        console.log(success)
      })
      .catch(error => {
        console.log(error);
      });
  }

```