Whenever I try to set HttpParams it's like:
let params = new HttpParams()
.set('someKey', this.key)
but my API URL looks like this:
/api/something/99999/item
So how to set this.key
like this which is 99999
?
Whenever I try to set HttpParams it's like:
let params = new HttpParams()
.set('someKey', this.key)
but my API URL looks like this:
/api/something/99999/item
So how to set this.key
like this which is 99999
?