WebCuratorTool / webcurator

The root of the webcurator tool project, containing all modules needed to run a fully functional webcurator tool.
Apache License 2.0
2 stars 1 forks source link

Rest Client API #105

Open obrienben opened 6 months ago

obrienben commented 6 months ago

Rest Client API:

  1. Communicate with rest api server, with Get/Post/Delete/Put etc.
  2. Verify the http response status code, if it's failed for authentication, then popup the Login window.
  3. If users input the credential, try to authenticate. If it's successful, then close the Login window, and submit the previous failed rest request. It means each request should be cached in global variables.
  4. Callback the original requesters or return a future handler.