Hi,
My url structure has entry:
'/api/netinterfaces(.*)', 'Net_interfaces',
With this, I can access my service via http://host/api/netinterfaces or
http://host/api/netinterfaces/1, and so on. But I cannot access via
http://host/api/netinterface/0 or http://host/api/netinterface/xxx0.
Actually, any URL ended with 0 does not work. The webpy reported
following error:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>503 - Service Not Available</title>
</head>
<body>
<h1>503 - Service Not Available</h1>
</body>
</html>
What's wrong with the URLs? Thanks in advance.
-woody
--
You received this message because you are subscribed to the Google Groups
"web.py" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/webpy.
For more options, visit https://groups.google.com/d/optout.