Score:0

Default values for route parameters in REST resources

iq flag

The title says it all: is it possible to set a deafult value for a parameter configured in the uri_paths of a RestResource? I had a look at the code of RestResource and I have a feeling that it is not supported, since uri_paths is simply a map; but still, I thought it was worth asking the question :)

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.