mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-25 14:37:02 +01:00
Updated Query Parameters (markdown)
parent
f696be91b5
commit
cc829c37cf
@ -5,14 +5,14 @@ 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.
|
||||
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?```
|
||||
|
||||
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.
|
||||
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```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user