-
Updated
Jun 7, 2020 - Swift
response
Here are 341 public repositories matching this topic...
-
Updated
May 12, 2020 - Swift
You can't add the the event handler until the response app is up. But every time the container starts, ngrok creates a new random inbound port.
I couldn't figure out what order to do these things in, so I gave up.
`app.use(cache('5 minutes'))` will cache all routes, regardless of methods like `GET` and `POST`
It turns out if we do app.use(cache('5 minutes')), it will cache all routes, regardless of methods like GET and POST. However, for methods like PUT and POST, in many cases this implied update on the server side and shall not be cached. Should we add documentation or functionality to make supporting such case more easily?
-
Updated
Jun 6, 2020 - TypeScript
Include Dockerfile in root of project
Request Type
Feature Request
Description
As part of the development and release cycle, please include the Dockerfile generated by docker.sbt in the root of the project so that the container can be built directly from the repo itself.
Is there a possibility to activate debug session with xdebug in fired async request?
I've tried to set XDEBUG_SESSION_START POST var and some environment settings, but without success.
Did anyone found a solution?
-
Updated
Jun 16, 2020 - C#
-
Updated
May 9, 2020 - PHP
Not sure what command-line options are available, or how to find out what they are.
If the read-me could include a link or some info that would be great.
Thanks!
-
Updated
May 29, 2020 - Swift
Holen's default type is "json", which works for most API endpoints. However, a very common feature of APIs is the useful 204 No Content response. This is typically returned from write requests (deletes, updates, and less commonly, creates). The response body in these situations is an empty string, and trying to parse an empty string as JSON throws an error:
JSON.parse('');
// > Un-
Updated
Sep 20, 2018 - Swift
-
Updated
Aug 9, 2019 - PHP
E.g. in src/types.ts
export interface InterfaceResponse {
/**
* Redirect to a new location.
*/
readonly redirect: (
location: string,
statusCode?: number,
options?: InterfaceResponseOptions,
) => void
...
}-
Updated
May 14, 2020 - PHP
-
Updated
Mar 5, 2020 - PHP
-
Updated
May 1, 2020 - Java
Improve this page
Add a description, image, and links to the response topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the response topic, visit your repo's landing page and select "manage topics."
What did you do?
When I do this (from your docs):
guard let dataFromString = text.data(using: .utf8, allowLossyConversion: false) else {return} let json = JSON(data: dataFromString)I get an error "Call can throw, but it is not marked with 'try' and the error is not handled"
I did this. I just want to confirm that is right. It worked for me.
`guard let dataFromString