You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "MonsterChenzhuo (via GitHub)" <gi...@apache.org> on 2023/03/23 08:49:46 UTC

[GitHub] [incubator-seatunnel] MonsterChenzhuo commented on pull request #4372: [Feature][Connector] http connector support pagable

MonsterChenzhuo commented on PR #4372:
URL: https://github.com/apache/incubator-seatunnel/pull/4372#issuecomment-1480799569

   > Hi , How's it going
   It is currently used in this way:
   source {
     Http {
       url = "http://mockserver:1080/paging/mock"
       method = "GET"
       format = "json"
       paging = {
           pageNoField = "pageNo",
           pageNo = "1,2,4,10-50",   // Support single page, range page
           pageSizeField = "pageSize",
           pageSize = 2
       }
       schema = {
         fields {
           name = string
           age = string
         }
       }
     }
   }


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org