I couldn't find what I was looking for and therefore wanted to ask how to send a request to a JSON api with parameters.
The important thing is that the parameters need to be encoded. The query will contain a string which could contain any characters (+, &, " ...). So it is important that it doesn't interfere with the query string.
It would like so: (Just with the query included)
this.http.get('https://abcdefg.com/setting').map(res => res.json()).subscribe(data => {
console.log(data);
});
The Query parameters could be:
ssid: WiFi-Network pass: &aBc+1234567890
I would appreciate a solution.
CrypticPug