Last change
on this file since 31525 was 31525, checked in by ak19, 7 years ago |
Nathan provided more stuff: Themes folder contains Sencha's Themebuilder which generates GXT Themes. It includes the .theme and generated .jar files for the project theme.
|
File size:
380 bytes
|
Line | |
---|
1 | // Example using HTTP POST operation
|
---|
2 |
|
---|
3 | var page = require('webpage').create(),
|
---|
4 | server = 'http://posttestserver.com/post.php?dump',
|
---|
5 | data = 'universe=expanding&answer=42';
|
---|
6 |
|
---|
7 | page.open(server, 'post', data, function (status) {
|
---|
8 | if (status !== 'success') {
|
---|
9 | console.log('Unable to post!');
|
---|
10 | } else {
|
---|
11 | console.log(page.content);
|
---|
12 | }
|
---|
13 | phantom.exit();
|
---|
14 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.