Install perry FTW!

Home

install perry FTW!

Jun232011

query string is this http://localhost:5000/hotels?filter[airport]=LGW&filter[from]=2011-07-01&filter[room_type]=D20

nodejs express interprets that incorrectly as

{ 'filter[airport]': 'LGW',

'filter[from]': '2011-07-01' }


So I have to use Perry to get it correctly interpreted as

{ filter:

{ airport: 'LGW',

from: '2011-07-01' } }


Something is not right here as it seems to work ok for some people, but not everyone...

Sorry boring tech stuff again...

:: :: Comment / reply

Paul Clarke's blog - I live and work near Folkestone. Married to Clare and father to Harry, I am a web dev, and I like javascript, PHP, Folkestone Gerald, pubs, restaurants, history, genealogy, TV, music, popbitch, squirrels, pirates ☠, time travel, stained glass...