Skip to content

Commit

Permalink
Fix errors in README
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmccabe authored Aug 10, 2017
1 parent dd5b17e commit fad98bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

This repo contains an example [FaaS](https://github.com/alexellis/faas) function which uses the [johnmccabe/img2ansi](https://github.com/johnmccabe/img2ansi) Go library to convert an image to an ANSI string.

Current the following image formats are supported:
Currently the following image formats are supported:

- `png`
- `gif`
Expand Down Expand Up @@ -47,7 +47,7 @@ You can also create the function via the UI at http://localhost:8080/ui/, clicki
## Testing the Function
Now that the function is running in your FaaS environment you can test it from the command line by running:
```
curl localhost:8080/function/kevin2 --data-binary @images/gopher.png
curl localhost:8080/function/img2ansi --data-binary @images/gopher.png
```

**NOTE**: as mentioned earlier, you should stick to small images for the moment (32x32 or so) as the function does not currently scale down large images.
**NOTE**: as mentioned earlier, you should stick to small images for the moment (32x32 or so) as the function does not currently scale down large images.

0 comments on commit fad98bb

Please sign in to comment.