Part 20: POST PUT DELETE Example Testing using REST API for httpbin.org with Python Requests lib

Publicado em: 20 Junho 2024
no canal de: AppSmashers
596
1

Part 20: POST PUT DELETE Example Testing using REST API for httpbin.org with Python Requests lib

Example:
import requests
import json

urlpost='https://httpbin.org/delete'

headerpost={'Content-type': 'application/json'}
response=requests.delete(url=urlpost,headers=headerpost,)
status=response.status_code
print(status)
assert status==200
jsonObject=response.json()
print(jsonObject['headers']['User-Agent'])


Nesta página do site você pode assistir ao vídeo on-line Part 20: POST PUT DELETE Example Testing using REST API for httpbin.org with Python Requests lib duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário AppSmashers 20 Junho 2024, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 596 vezes e gostou 1 espectadores. Boa visualização!