# How to correctly use & construct the travel URL?

**URL:** <https://forums.unrealengine.com/t/how-to-correctly-use-construct-the-travel-url/61532>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [April 19, 2016, 8:53am UTC](https://forums.unrealengine.com/t/how-to-correctly-use-construct-the-travel-url/61532 "2016-04-19T08:53:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GotSomePills](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GotSomePills](https://forums.unrealengine.com/u/GotSomePills)\
**Post date:** [April 19, 2016, 8:53am UTC](https://forums.unrealengine.com/t/how-to-correctly-use-construct-the-travel-url/61532/1 "2016-04-19T08:53:47Z")

</div>

So, as the title would suggest, how do we go about correctly using the url in seamless travel? The documentation is of incredibly little help with this, is there a specific order parameters need to be passed in to the string? How do we go about extracting data from it once the travel has finished?

---

<div class="post-metadata">

**Author:** ![Elvince](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elvince](https://forums.unrealengine.com/u/Elvince)\
**Post date:** [April 20, 2016, 7:55am UTC](https://forums.unrealengine.com/t/how-to-correctly-use-construct-the-travel-url/61532/2 "2016-04-20T07:55:05Z")

</div>

For the URL Seamless travel is the same as a regular travel. So if you set something on the URL, you get it once the travel is done.

You have some static function like UGameplayStatics::HasOption, UGameplayStatics::GetIntOption and so one that you can use in your GameMode InitGame to retrieve your value.

---

<div class="post-metadata">

**Author:** ![Jambax](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jambax/32/904177_2.png) [@Jambax](https://forums.unrealengine.com/u/Jambax)\
**Post date:** [April 20, 2016, 8:08am UTC](https://forums.unrealengine.com/t/how-to-correctly-use-construct-the-travel-url/61532/3 "2016-04-20T08:08:50Z")

</div>

For string options you can also use UGameplayStatics::ParseOption as well. Each options is prefixed by

```auto

?##=

```

- where ## represents whatever you want to call the option (each has to be unique, and can be longer than two symbols but you wanna keep it short for less string comparisons 🙂

FString also supports the + operator, so you can do things like this:

```auto

const FString Options1 = TEXT("SomeOptionValue");
const FString Options2 = TEXT("OptionsValue2");

const FString URL = TEXT("?O1=") + Options1 + TEXT("?O2=") + Options2;

```
