GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Notizen

Comandos Git e Git Bash

Lucas Carvalho Teste Automatizados QA Profissionalizante Portugiesisch 1 Seite

Inhalt der Notizen (1)

Seite 1

https://www.youtube.com/watch?v=9UINHif1FYw

Aula 6 - Utilização de comando no git bash

Exemplo comando Git Bash:

Utilizado para efetuar uma requisição rest em API via terminal

$ curl -X POST -is http://localhost:8089/api/v1/auth -d '{"email": "admin@email.com","senha": "654321"}' -H 'Content-Type: application/json'

curl (comando base)

-X (Utilizado para informar o metodo a ser utilizado na requisição Ex: "GET - POST - PUT - DELETE")

-is (Dois comandos para apresentar o application e também para limpar a tempo de busca)

http://localhost:8089/api/v1/auth - (endpoint que será efetuado a requisição)

-d (body : o corpo enviado na requisição)

-H (header - pode conter 'Authorization: token' também o 'Content-Type: application/json')

Informationen

Beschreibung
Comandos utilizados no git
Erstellt von
Lucas Carvalho
Aufrufe
1
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck