Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Perfect Server HTTP - File not found

Tags:

swift

perfect

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.

like image 648
Adam Carter Avatar asked Mar 31 '26 08:03

Adam Carter


1 Answers

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

like image 123
Adam Carter Avatar answered Apr 02 '26 23:04

Adam Carter



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!