I need to fill in a query with a username and password. An example is this: cgi-bin/videostream.cgi?user=&pwd=
However, these queries are not standardised so in another example, the keys could actually look like cgi-bin/videostream.cgi?passwd=&usr= .
Is there a clean solution that allows me to fill in these queries without using countless if/else statements? It is not possible to standardise the queries.