I have a problem when i launch the perfect http server.
The file "/" was not found
I use Xcode 7.3.1 on MAC OS 10.11. I followed exactly the same steps in this tutorial
I have a problem when i launch the perfect http server.
The file "/" was not found
I use Xcode 7.3.1 on MAC OS 10.11. I followed exactly the same steps in this tutorial
In that tutorial, there is no default route, so you would need to make a request to /posts in order to get a response. If you work thru the tutorial, you will see how to post data to the server and retrieve a response.
For me the reason was: I called the function not
PerfectServerModuleInit
but this way: public func perfectServerModuleInit()
So perfect couldn't find it.