Interface YoutubeClient


public interface YoutubeClient
Responsible for sending GET and POST requests to YouTube.
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    get(String url)
    Sends a GET request to the specified URL and returns the response body.
    get(String url, Map<String,String> headers)
    Sends a GET request to the specified URL and returns the response body.
    post(String url, String json)
    Sends a POST request to the specified URL and returns the response body.