F5 Sites
  • F5.com
  • LearnF5
  • NGINX
  • MyF5
  • Partner Central
Contact
  • Under Attack?
  • F5 Support
  • DevCentral Support
  • F5 Sales
  • NGINX Sales
  • F5 Professional Services
Skip to contentBrand Logo
Forums
CrowdSRC
Articles
Groups
EventsSuggestionsHow Do I...?
RegisterSign In
  1. DevCentral
  2. Articles
  3. Technical Articles

Restful Access to BIG-IP Subtables

Surely by now you have tasted the goodness that is tables.  No?  Stop now and go read up on the table command.  No, really, right now!  I’ll wait… OK, now that you are a tables expert, it’s clear t...
Published Aug 11, 2010
Version 1.0
BIG-IP
BIG-IP Access Policy Manager (APM)
dev
news
security
tech tip
web service
xml
JRahm's avatar
JRahm
Icon for Admin rankAdmin
Joined January 20, 2005
View Profile
JRahm's avatar
JRahm
Icon for Admin rankAdmin
Joined January 20, 2005
View Profile
Kevin_Davies_40's avatar
Kevin_Davies_40
Icon for Nacreous rankNacreous
Sep 23, 2010
Thats a lot of code when this will do...

 

 

when HTTP_REQUEST {

 

set page_header "Table data"

 

set page_footer ""

 

switch -regex [HTTP::URI] {

 

"^/keys" {

 

 

default {

 

 

table [getfield [HTTP::URI] "/" 2] -subtable [getfield [HTTP::URI] "/" 3] [getfield [HTTP::URI] "/" 4] [getfield [HTTP::URI] "/" 5]

 

}

 

 

http://127.0.0.1/add/mytable/hello/there

 

http://127.0.0.1/delete/mytable/hello/there

 

http://127.0.0.1/delete/mytable/hello/-all

ABOUT DEVCENTRAL

DevCentral NewsTechnical ForumTechnical ArticlesTechnical CrowdSRCCommunity GuidelinesDevCentral EULAGet a Developer Lab LicenseBecome a DevCentral MVP

RESOURCES

Product DocumentationWhite PapersGlossaryCustomer StoriesWebinarsFree Online CoursesF5 CertificationLearnF5 Training

SUPPORT

Manage SubscriptionsProfessional ServicesProfessional ServicesCreate a Service RequestSoftware DownloadsSupport Portal

PARTNERS

Find a Reseller PartnerTechnology AlliancesBecome an F5 PartnerLogin to Partner Central

F5 logo©2024 F5, Inc. All rights reserved.
TrademarksPoliciesPrivacyCalifornia PrivacyDo Not Sell My Personal Information