We are going to make a request as follows:
Field | Value |
HTTP method | POST |
URL | https://language.googleapis.com/v1/documents:analyzeSentiment?key=API_KEY |
Request body |
// SNIPP SNIPP |
In the above request, we are providing the content that needs to be analysed along with the encoding type.