Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
9363cce7
...
9363cce7dccc4198ccb0a3aae154986765313cdc
authored
2013-09-04 14:58:19 -0500
by
John F. Douthat
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fix typo base46 -> base64
1 parent
be96826c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
docs/modules/casper.rst
docs/modules/casper.rst
View file @
9363cce
...
...
@@ -398,16 +398,16 @@ Example: retrieving google logo image encoded in base64::
You can also perform an HTTP POST request to retrieve the contents to
encode::
var base
46
contents = null;
var base
64
contents = null;
casper.start('http://domain.tld/download.html', function() {
base
46
contents = this.base64encode('http://domain.tld/', 'POST', {
base
64
contents = this.base64encode('http://domain.tld/', 'POST', {
param1: 'foo',
param2: 'bar'
});
});
casper.run(function() {
this.echo(base
46
contents).exit();
this.echo(base
64
contents).exit();
});
.. index:: bypass, Step stack
...
...
Please
register
or
sign in
to post a comment