Adam Carter
Adam Carter

Reputation: 4844

Perfect Server HTTP - File not found

I’m using Perfect Server to create a Swift backend for my application.

After following this tutorial: http://www.chrismanahan.com/creating-a-web-service-swift-perfect I get to the stage where I test my server.

When PerfectServerHTTP loads, I open up http://localhost:8181/posts but receive a print out saying The file “/posts" was not found.

How do I setup the server side of the project? There’s no mention of this in the tutorial.

Upvotes: 3

Views: 379

Answers (1)

Adam Carter
Adam Carter

Reputation: 4844

Stupid mistake but I’ll post for anyone else who’s unable to follow instructions like me…

The problem was the scheme selected needs to be your project’s scheme, not the PerfectServer HTTP App scheme

Upvotes: 2

Related Questions