Skip to content

aeleniumfor/coding_challenge_1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

Docker を用いて、 "Hello world" というメッセージ を JSON 形式で返す API

DEMO

使用したdocker image
golang:latest

Usage

build and run

$ git clone https://github.com/aeleniumfor/coding_challenge_1.git
$ cd coding_challenge_1
$ docker build -t golang_app .
$ docker run -d -p 8080:8080 --rm golang_app

confirmation

ステータスコードの確認
$ curl -LI http://localhost:8080/ -o /dev/null -w '%{http_code}' -s
レスポンスの確認
$ curl -XGET -H 'Content-Type:application/json' http://localhost:8080/

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages