# Chapter 1: Invalid text shown on Browser

**URL:** <https://forums.kodeco.com/t/chapter-1-invalid-text-shown-on-browser/203823>\
**Category:** Modern Concurrency in Swift\
**Tags:** ios\
**Created:** [April 19, 2024, 7:04am UTC](https://forums.kodeco.com/t/chapter-1-invalid-text-shown-on-browser/203823 "2024-04-19T07:04:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![darkcavalier11](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@darkcavalier11](https://forums.kodeco.com/u/darkcavalier11)\
**Post date:** [April 19, 2024, 7:04am UTC](https://forums.kodeco.com/t/chapter-1-invalid-text-shown-on-browser/203823/1 "2024-04-19T07:04:11Z")

</div>

When i run the app LittleJohn with Swift run and go to the url localhost:8080/hello here is the response i got in the browser

![Screenshot 2024-04-19 at 12.32.06 PM](https://files.chunter.kodeco.com/original/3X/b/d/bd3252aa883fd71abe9b1b357ec08010d6dcc7b1.png)  
See at the end there are unnecessary text. I haven’t changed anything on the code. Even i tried to log the date before it converted to data inside response and that date is printed properly.

---

<div class="post-metadata">

**Author:** ![robertomachorro](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/robertomachorro/32/111603_2.png) [@robertomachorro](https://forums.kodeco.com/u/robertomachorro)\
**Post date:** [April 20, 2024, 7:28pm UTC](https://forums.kodeco.com/t/chapter-1-invalid-text-shown-on-browser/203823/2 "2024-04-20T19:28:24Z")

</div>

> [@darkcavalier11](#):
>
> localhost:8080/hello

1. Try to check the code in your environment matches that of the book.
2. Try the following command and reply with what you get: ```  
curl -v [http://localhost:8080/hello](http://localhost:8080/hello)

```auto

```

---

<div class="post-metadata">

**Author:** ![darkcavalier11](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@darkcavalier11](https://forums.kodeco.com/u/darkcavalier11)\
**Post date:** [April 21, 2024, 4:42am UTC](https://forums.kodeco.com/t/chapter-1-invalid-text-shown-on-browser/203823/3 "2024-04-21T04:42:43Z")

</div>

Hey @robertomachorro the curl command returning the correct result, issue is only with the browser.

---

<div class="post-metadata">

**Author:** ![robertomachorro](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/robertomachorro/32/111603_2.png) [@robertomachorro](https://forums.kodeco.com/u/robertomachorro)\
**Post date:** [April 21, 2024, 3:24pm UTC](https://forums.kodeco.com/t/chapter-1-invalid-text-shown-on-browser/203823/4 "2024-04-21T15:24:01Z")

</div>

Please reply with the response, this is more about the format and headers than the output of the command. The application is doing what it’s supposed to do, I’m just helping you get the message right to the server.

---

<div class="post-metadata">

**Author:** ![darkcavalier11](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@darkcavalier11](https://forums.kodeco.com/u/darkcavalier11)\
**Post date:** [April 24, 2024, 12:25pm UTC](https://forums.kodeco.com/t/chapter-1-invalid-text-shown-on-browser/203823/5 "2024-04-24T12:25:50Z")

</div>

Hey sorry for the late response, here are the screenshots

 ![Screenshot 2024-04-24 at 5.55.08 PM](https://files.chunter.kodeco.com/original/3X/a/5/a54fe786af9a9b73b9314b2099c5ff2bddb4148f.png)

---

<div class="post-metadata">

**Author:** ![robertomachorro](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/robertomachorro/32/111603_2.png) [@robertomachorro](https://forums.kodeco.com/u/robertomachorro)\
**Post date:** [April 25, 2024, 3:11pm UTC](https://forums.kodeco.com/t/chapter-1-invalid-text-shown-on-browser/203823/6 "2024-04-25T15:11:11Z")

</div>

Please add the **-v** parameter (verbosity) as per my prior message. Thanks!
