Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created Docker image for Kelsey's tools #2

Open
markuscraig opened this issue Apr 27, 2017 · 1 comment
Open

Created Docker image for Kelsey's tools #2

markuscraig opened this issue Apr 27, 2017 · 1 comment

Comments

@markuscraig
Copy link

Thanks Kelsey, this is really cool.

I created a simple Docker image for Go 1.8.1 and Kelsey's cli tools.

Here is my how-to, but the HTTP API does not work yet. Should be simple. Anybody see anything I'm missing?

Thanks! M

@MartinSahlen
Copy link

I found that using r, err := http.NewRequest(request.Method, request.URL, bytes.NewBufferString(request.Body)) as in https://github.com/kelseyhightower/google-cloud-functions-go/blob/master/shim/handlers.go#L68, did not work, at least it failed to work in my experiments. however using the proper http request r, err := http.NewRequest(request.Method, request.URL, bytes.NewBufferString(request.Body)) worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants