mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-26 15:07:03 +01:00
Updated Query Parameters (markdown)
parent
419aab85df
commit
6cbf3cd0d6
@ -7,20 +7,20 @@ Query parameters are in the format of key-value pairs. They are appended after y
|
|||||||
|
|
||||||
Let's say your embed URL is ``https://titanembeds.com/embed/295085744249110529`` and want to use the ``theme`` (or any other) 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.
|
Let's say your embed URL is ``https://titanembeds.com/embed/295085744249110529`` and want to use the ``theme`` (or any other) 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?```
|
``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.
|
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
|
## 1. The key
|
||||||
The key is perhaps the most important part of the 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.
|
The key is perhaps the most important part of the 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
|
## 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.
|
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
|
## 3. The value
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user