From 6cbf3cd0d662e55aaf8a9aef3cf9e60480cf4a82 Mon Sep 17 00:00:00 2001 From: Jelle Z <18423879+jelle619@users.noreply.github.com> Date: Fri, 21 Sep 2018 20:35:21 +0200 Subject: [PATCH] Updated Query Parameters (markdown) --- Query-Parameters.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Query-Parameters.md b/Query-Parameters.md index 760fdc2..73c324d 100644 --- a/Query-Parameters.md +++ b/Query-Parameters.md @@ -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. -```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. ## 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. -```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