1
resposta

concluindo desafio

Atividade 1

    get https://www.omdbapi.com/?t=dogville&apikey=xxxxxx
    
    {
"Title": "Dogville",
"Year": "2003",
"Rated": "R",
"Released": "23 Apr 2004",
"Runtime": "171 min",
"Genre": "Crime, Drama",
"Director": "Lars von Trier",
"Writer": "Lars von Trier",
"Actors": "Nicole Kidman, Paul Bettany, Lauren Bacall",
"Plot": "A woman on the run from the mob is reluctantly accepted in a small Colorado community in exchange for labor, but when a search visits the town she finds out that their support has a price.",
"Language": "English, French",
"Country": "Denmark, Netherlands, Sweden, Germany, United Kingdom, France, Finland, Norway, Italy",
"Awards": "21 wins & 33 nominations total",
"Poster": "https://m.media-amazon.com/images/M/MV5BMTkwNTg2MTI1NF5BMl5BanBnXkFtZTcwMDM1MzUyMQ@@._V1_SX300.jpg",
"Ratings": [
    {
        "Source": "Internet Movie Database",
        "Value": "8.0/10"
    },
    {
        "Source": "Rotten Tomatoes",
        "Value": "70%"
    },
    {
        "Source": "Metacritic",
        "Value": "61/100"
    }
],
"Metascore": "61",
"imdbRating": "8.0",
"imdbVotes": "164,417",
"imdbID": "tt0276919",
"Type": "movie",
"DVD": "N/A",
"BoxOffice": "$1,535,286",
"Production": "N/A",
"Website": "N/A",
"Response": "True"
}

Atividade 2

    get https://www.omdbapi.com/?t=dogville&apikey=80e392&plot=full&type=movie
    
        {
"Title": "Dogville",
"Year": "2003",
"Rated": "R",
"Released": "23 Apr 2004",
"Runtime": "171 min",
"Genre": "Crime, Drama",
"Director": "Lars von Trier",
"Writer": "Lars von Trier",
"Actors": "Nicole Kidman, Paul Bettany, Lauren Bacall",
"Plot": "Late one night, a beautiful and well-dressed young woman, Grace (Nicole Kidman), arrives in the mountainous old mining town of Dogville as a fugitive; following the sound of gunshots in the distance which have been heard by Tom (Paul Bettany), the self-appointed moral spokesman for the town. Persuaded by Tom, the town agree to hide Grace, and in return she freely helps the locals. However, when the Sheriff from a neighbouring town posts a Missing notice, advertising a reward for revealing her whereabouts, the townsfolk require a better deal from Grace, in return for their silence; and when the Sheriff returns some weeks later with a Wanted poster, even though the citizens know her to be innocent of the false charges against her, the town's sense of goodness takes a sinister turn and the price of Grace's freedom becomes a workload and treatment akin to that of a slave. But Grace has a deadly secret that the townsfolk will eventually encounter.",
"Language": "English, French",
"Country": "Denmark, Netherlands, Sweden, Germany, United Kingdom, France, Finland, Norway, Italy",
"Awards": "21 wins & 33 nominations total",
"Poster": "https://m.media-amazon.com/images/M/MV5BMTkwNTg2MTI1NF5BMl5BanBnXkFtZTcwMDM1MzUyMQ@@._V1_SX300.jpg",
"Ratings": [
    {
        "Source": "Internet Movie Database",
        "Value": "8.0/10"
    },
    {
        "Source": "Rotten Tomatoes",
        "Value": "70%"
    },
   

atividade 3

  get https://jsonplaceholder.typicode.com/posts
  em body raw
      {
  "title": "Meu novo post",
  "body": "Conteúdo do post enviado via POST",
  "userId": 1
}

{
    "userId": 1,
    "id": 1,
    "title": "sunt aut facere repellat provident occaecati excepturi optio reprehenderit",
    "body": "quia et suscipit\nsuscipit recusandae consequuntur expedita et cum\nreprehenderit molestiae ut ut quas totam\nnostrum rerum est autem sunt rem eveniet architecto"
},

atividade 4

    post https://jsonplaceholder.typicode.com/posts
    
    {
      "title": "Meu novo post",
      "body": "Conteúdo do post enviado via POST",
      "userId": 1
    }
    

atividade 5
Get www.youtube.com

    <!DOCTYPE html>
1 resposta

Oi, Everton! Como vai?

Agradeço por compartilhar.
Gostei da forma como você explorou cada atividade, principalmente usando diferentes endpoints e verificando as respostas do servidor. Isso mostra que você conseguiu aplicar bem o que foi visto sobre requisições HTTP. Continue praticando, pois esse é um conhecimento muito útil para o dia a dia com APIs.

Uma dica é variar os parâmetros da requisição, como adicionar filtros ou testar com diferentes valores de query string. Isso ajuda a entender melhor como o servidor responde e fortalece seu aprendizado.

Conteúdos relacionados
Alura Conte com o apoio da comunidade Alura na sua jornada. Abraços e bons estudos!