Socket
Book a DemoInstallSign in
Socket

github.com/shreyaschikkabilathiharisha/facts_and_questions_api

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/shreyaschikkabilathiharisha/facts_and_questions_api

v0.0.0-20240514181012-5fa7cae6995d
Source
Go
Version published
Created
Source

facts_and_questions_api

Steps to run

  • Initialize go mod from the repository root go mod init facts_and_questions_api

  • Run the service from the repository root go run main.go

  • To make the HTTP request, curl with the appropriate params or use an http client like postman to send the requests to http://127.0.0.1:8383

Some example http requests are as follows:

  • curl -X GET -d "{\"question\": \"q4\", \"answer\": \"a4\"}" http://localhost:8383/create
  • curl -X GET -d "{\"question\": \"q1\"}" http://localhost:8383/fetch
  • curl -X GET -d "{}" http://localhost:8383/fetch

FAQs

Package last updated on 14 May 2024

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.