ipedrazas / webhook-example

Example of the HTTP request/response and transformations of struct to json nd json to struct

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webhooks in Go

This project is an example of how to make an HTTP request sending struct as a json and how to receive it, process it and react (send a webhook).

The main purpouse of this project is to give an example of the HTTP request/response and transformations of struct to json nd json to struct.

It has 2 parts:

  • Send: to send a struct as a json using POST
  • Receive: to receive a json, converted into a struct

About

Example of the HTTP request/response and transformations of struct to json nd json to struct

License:MIT License


Languages

Language:Go 100.0%