Questions tagged [server-side-swift]
79 questions
0
votes
1 answer
Perfect (Server-Side Swift) view engines
In NodeJS we have view engines (mustache, pug and etc.) and we can setup and use any of them. Does Perfect has any (default or installable) view engine with features like Layout Setting, Partial Views and other features?
I read about…

Omid Golparvar
- 468
- 5
- 12
0
votes
0 answers
PerfectCURL - How to make the following call?
I am using PerfectSwift for a RESTful API to bridge our TeamCity build server and HipChat; however I am stuck at a point whereby I am unable to post to the HipChat backend using Perfect's cURL wrapper.
The command I am trying to mimic is:
curl -d…

Jacob King
- 6,025
- 4
- 27
- 45
0
votes
1 answer
Server-side Swift: Testing Code That Uses Bundle
I'm using server-side Swift, and doing my development in Xcode after doing:
swift package generate-xcodeproj
I have a class that uses Bundle (formerly NSBundle) to load in a .plist file for some settings in the server. It works fine when running in…

Chris Prince
- 7,288
- 2
- 48
- 66
-3
votes
1 answer
How to hit post request in javascript , which hit server side swift server?
How to hit post request in javascript, which hit server side server(Perfect) ?
I got all my parameters in function in script tag . Now I am facing difficulties to hit post request from function to Server

Vijayvir Sing Pantlia
- 669
- 4
- 16