Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/sagardafle/introduction-to-rest-api-in-go-programming-language

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/sagardafle/introduction-to-rest-api-in-go-programming-language

  • v0.0.0-20160130223824-9020f9e3e3de
  • Source
  • Go
  • Socket score

Version published
Created
Source

cmpe273-lab2

Lab 2 (httprouter.go) A simple “Hello World” REST API in Go to understand how handler and Http router work, and how to parse the request and send the response.

Open this URL in a web browser: http://localhost:8080/hello/Daffy This prints: Hello, Daffy!

The response of the POST method is: Response: { “greeting” : “Hello, Daffy!” } This also works fine in POSTman client

FAQs

Package last updated on 30 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc