Ambassador
Ambassador copied to clipboard
Super lightweight web framework in Swift based on SWSGI
Instead of providing the JSON format structure after `return`, is there a way to point Ambassador to the `.json` file located in the project of the app we want to...
Is it possible to get request headers using Ambassador? I can't seem to find them in the _environ_ variable alongside the other information. I expected to find custom headers or...
Hello guys, I noticed that when I use delay response in ui test, and in this response I return some value to assert in UI test, delayed response sometimes come...
Hello. Is there any way to support many states API responses such as: - Call Login success will be responded: ``` router["/api/v2/login"] = DelayResponse(JSONStringResponse(handler: { _ -> Any in return...
I'm not sure if I have missed the documentation for this but is it possible to run separate instances of `DefaultHTTPServer` on the individual clones while parallel testing?
Can someone give an example of how to handle POST requests where we are uploading files/photos (multipart/form-data). I tried to use `DataReader(input)` snippet but that always gives me an empty...
When I ran this code from Router class in Playgrounds always print "matches" for similar endpoints. In my case, Ambassador is returning the same JSON response to both endpoints and...
Possible bug in Router, we have an api with two very similar paths /api/GetDevices and /api/GetDevice, while trying to ui test in iOS after setting up a response for each...
README.md has examples on how to use DataReader, JSONReader and URLParametersReader and the instructions says that the example code will wait for input to be read. However, as explained by...