Updated Query Parameters (markdown)

Jelle Z 2018-09-15 22:10:44 +02:00
parent 9b024deaf8
commit f696be91b5

@ -6,18 +6,21 @@ Query parameters are in the format of key-value pairs. They are appended after y
# Appending the first parameter to your embed URL
Let's say your embed URL is ``https://titanembeds.com/embed/295085744249110529`` and want to use the ``theme`` parameter, how would you go about doing so? If you have an URL that does not use any other parameter, append "?" to the URL. This will essentially tell Titan that you're about to use query parameters in your URL.
```https://titanembeds.com/embed/295085744249110529?```
Next, we will tell Titan which parameters to use. Each parameter consists or three parts: the key, the equal sign an the value.
## 1. The key
The key is perhaps the most important part of the full query parameter. This will tell Titan which parameter to utilise. In this instance, we are going to use the ``theme`` parameter by simply appending it to the URL.
``https://titanembeds.com/embed/295085744249110529?theme``
```https://titanembeds.com/embed/295085744249110529?theme```
## 2. The equal sign
It's a symbol used to indicate logical or mathematical equality or something... Just forget what I said and append it to the URL.
``https://titanembeds.com/embed/295085744249110529?theme=``
```https://titanembeds.com/embed/295085744249110529?theme=```
## 3. The value