secret := "****99510****b6e0****"callbackURL := "https://****oposs.ngrok-free.app/trello-webhook?id=****ysht.com"base64Digest := func(s string) string {h := hmac.New(sha1.New, []byte(secret))h.Write([]byte(s))return base64.StdEncoding.EncodeToString(h.Sum(nil))}body := c.BodyRaw()contentBuffer := bytes.NewBuffer(body)contentBuffer.WriteString(callbackURL)content := contentBuffer.String()doubleHash := base64Digest(content)headerHash := c.Get("x-trello-webhook")fmt.Println("doubleHash : ", doubleHash)fmt.Println("headerHash : ", headerHash)// Your existing return statementreturn c.Status(200).JSON(&fiber.Map{"status": true,"information": "bismillah from customers-data_request!",})
Hi @javmah! If you need any code assistance when using Trello's API, I recommend you post your question in our developer community, which you can access through this link: https://community.developer.atlassian.com/c/trello/42. There, you'll find many other developers who can help you with your question, and you might also get your question answered by one of our developers who are actively monitoring it. I hope that helps!
Dear @Salomao Rosa, thank you for your reply. I posted a question but did not receive any response. Could you please take a moment to look at the question and provide me with any suggestions? Thank you.
Hi @javmah! We don't provide support to coding or development support here since the developer community is the most suitable place for these types of questions. Also, you posted your question yesterday, so I'd recommend you wait a bit more to see if someone from the community will jump in to help. However, if you don't get a reply after a few days, I could ask someone from our team to help.
@Sal thank you so much.
It looks like you're new here. Sign in or register to get started.