mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 16:56:47 +00:00
Add image name to README
This commit is contained in:
parent
32ac150832
commit
1edee09711
@ -2,7 +2,12 @@
|
|||||||
|
|
||||||
[Phantomjs](http://phantomjs.org) is a headless web-browser used for scraping and automation testing. This function will scrape a web-page with the JavaScript sent in through the function.
|
[Phantomjs](http://phantomjs.org) is a headless web-browser used for scraping and automation testing. This function will scrape a web-page with the JavaScript sent in through the function.
|
||||||
|
|
||||||
Example usage:
|
Once a function has been deployed to FaaS using the UI or one of the other methods you can invoke it with a JavaScript Phantomjs file.
|
||||||
|
|
||||||
|
**Image name:** `functions/base:phantomjs`
|
||||||
|
|
||||||
|
|
||||||
|
**Example usage:**
|
||||||
|
|
||||||
```
|
```
|
||||||
$ time curl --data-binary @cnn.js http://localhost:8080/function/phantomjs
|
$ time curl --data-binary @cnn.js http://localhost:8080/function/phantomjs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user