Taffy and URI's containing email addresses

21 views
Skip to first unread message

Tom Chiverton

unread,
Feb 24, 2016, 6:13:48 AM2/24/16
to Taffy Users
I read that you can't do

taffy_uri="/addressbook/check/{email}"

without having to tack an extra '.json' on the end of each request. So I am trying to use

taffy_uri="/addressbook/check/{email}/type/{other}"

to work around this. Except I always get back a 404 (with X-TAFFY-... headers so, it reached Taffy OK) if {email} contains full stops e.g. I get 404 for "...api/check/tcextravisioncom/add" but 200 for "...api/check/tcextravision.com/add".

Is anyone else using email address' in the URI OK ?

Tom

Tom Chiverton

unread,
Feb 24, 2016, 6:17:32 AM2/24/16
to Taffy Users
That last line was backwards. Argh.

I meant

"
I always get back a 404 (with X-TAFFY-... headers so, it reached Taffy OK) if {email} contains full stops e.g. I get 404 for "...api/check/
tcextravision.com/add" but 200 for "...api/check/tcextravisioncom/add".
"

This is Apache, Lucee 4.x on Amazon Linux
Reply all
Reply to author
Forward
0 new messages