Skip to content

ScreenSlicer API

hollingsworthd edited this page Dec 8, 2014 · 23 revisions

ScreenSlicer's Java API is com.screenslicer.api.webapp.ScreenSlicer.

ScreenSlicer's JSON HTTP APIs run on 127.0.0.1:8887. They're only accessibly to the localhost, so there's no authentication.

JSON HTTP APIs

 
  • POST http://127.0.0.1:8887/screenslicer/query-form
 
  • POST http://127.0.0.1:8887/screenslicer/load-form
   
  • POST http://127.0.0.1:8887/screenslicer/fetch
    • Request JSON: Fetch
    • Response Text/Plain: cleaned HTML
 
  • POST http://127.0.0.1:8887/screenslicer/cancel
    • Request JSON: Cancel
    • Response: (HTTP status code 200, no content)
Clone this wiki locally