journey icon indicating copy to clipboard operation
journey copied to clipboard

Allow the return of strings instead of always JSON

Open ealter opened this issue 13 years ago • 0 comments

When I was using the journey router, there were times when I wanted to return pure string responses instead of json. An example would be returning some html.

This commit changes the behavior of the request.send when passed strings. Instead of making json with "journey" as the key, this keeps it as a string.

ealter avatar Jun 12 '12 08:06 ealter