Can't access endpoint in Replit's webview

I’m trying to access the /ping endpoint in webview browser.

I’ve tried the following:

Repl link:

	router.GET("/ping", func(c *gin.Context) {
		c.JSON(http.StatusOK, gin.H{"message": "pong"})

Remove the :8080. Replit proxies your website at the default port

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.