Hi,
I have to integrate the Moneybooker Payment Service to an existing Seam Application. Regarding to the documentation, I have to pass parameters to moneybookers via POST.
My question is, how to pass parameters via POST to an external website? I know I am able to redirect to an external website via "FacesContext.getCurrentInstance().g...
I'm trying to make a POST request to retrieve information about a book.
Here is the code that returns HTTP code: 302, Moved
import httplib, urllib
params = urllib.urlencode({
'isbn' : '9780131185838',
'catalogId' : '10001',
'schoolStoreId' : '15828',
'search' : 'Search'
})
headers = {"Content-type": "application/x-ww...
On my site right now, I'm passing in data through a query string to a page. I'd like to change that so that the data is passed as a POST parameter.
My previous statement looked like this:
<cf_location url="mypage.cfm?id=123">
And I replaced it with:
<cfhttp method="post" url="mypage.cfm">
<cfhttpparam name="theID" type="URL" val...
Hello
Im trying to use imageshshack api in php
in the following way:
<?php
function do_post_request($url, $data, $optional_headers = null) {
$params = array('http' => array(
'method' => 'POST',
'content' => $data
));
if ($optional_headers !== null) {
$params['http']['header'] = $optional...
I am attempting to have lots of posts in a specific category. The post will have a custom field that will be a date. I need the posts to be organized by the category, the custom field, and each page of posts should be separated by month of the custom field. So hard to explain...
Page of posts for the current month. Links at the bottom f...
I have a WebViewClient attached to my WebView like so:
webView.setWebViewClient(new MyWebViewClient());
Here is my implementation of MyWebViewClient:
private class MyWebViewClient extends WebViewClient {
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url) {
webView.loadUrl(url);
return true;
}
}
I g...
This is my code: (rather, the dodgy part thereof)
if (window.XMLHttpRequest)
{// code for IE7+, Firefox, Chrome, Opera, Safari
var requisicao=new XMLHttpRequest();
} else {
var requisicao=new ActiveXObject("Microsoft.XMLHTTP");
}
Ok. Sometimes this works fine, but sometimes the Javascript Debugger in IE tells me this:
Obje...
I'm having a form in a .erb file, where the user can enter some info. Then I want to make a POST to a different URL (let's say www.3rdparty.com/api.php?f=add_entry), that will reply with 0 or 1, for success or failure. Which is the right way to go, especially if I want to stay on the page with the form, and then show a dialog according t...
Hi, I would need some help with Wordpress and custom post types/permalinks.
I registered custom post type by the name "services" with the following arguments:
$args = array(
'labels' => $labels,
'singular_label' => __('services'),
'public' => true,
'query_var' => true,
'show_ui' => true,
'menu_icon' => get_stylesheet_direct...
i have an image:
<img onclick="Search()" alt="searchPage" style="vertical-align: middle;" height="17px"
src="../../Stylesheets/search.PNG" title="search" />
and javascript methode:
<script language="javascript" type="text/javascript">
function Search() {
alert("test-search");
var searchText = $("#txtSearch")....
Hello all,
Please have a look to the following code:
<?php
$nomeDominio='';
if (isset($_GET['infoDominio']))
{
$nomeDominio = $_GET['nomeDominio'];
echo "I'm getting ".$nomeDominio;
}
if (isset($_POST['atualizarDominio']))
{
echo "I'm posting ".$nomeDominio;
}
?>
<!DOCTYPE HTML PUBLIC "-//W...
I have started having problems with our asp.net webform applications running behind a proxy since the user base have upgraded to IE7. Some postbacks seem to drop out and at times it is difficult to make controls on a page raise an event. It appears to be intermittant and I have been told there are issues around using IE7 behind a proxy w...
This is a piece of code on home.php
<form action="./Login" method="post">
Email Address: <br />
<input type="text" name="username" tabindex="1" /><br />
Password: <br />
<input type="password" name="password" tabindex="2" /><br />
<input type="hidden" name="home" value="yes" />
<div class="options">
<input type="submit" value="" name="L...
Alright I'm going to create a fairly complex form to post via AJAX a lot of different types of information PHP page which will then parse the data and CURL the various datatypes into the correct tables in another database.
Usually I just send a HUGE POST request and then parse the information in the PHP page, making multiple CURL reques...
Hi,
is it possible to get access to the postanswer?
For exmaple:
This is my post
$.post('test.php', {mx: 'alpha_one', ft: 'get_it', 'values[0]':'25', 'values[1]':'10'},
function(data_lv)
{
.....
}, 'json');
and this is the answer
{"bibo":"3733c0f973590e579b78f1473fb96fbe","success":true,"data":{"1":"bernd","52":"blub","135":"bli...
I am trying to post information to an API on a web project that I have created and hosted. I am not sure what the exact format is for the HTTP POST request. Every time I try I get HTTP 400 errors with the message that there is "an invalid verb".
Sample Code:
byte server[] = {"our IP"}
..
..
client(server, 80)
..
..
client.println("P...
Simplified code example: http://pastebin.com/9ZQxSXi9
Hi
I wanted to experiment with the restlet 2.0 library and the gpodder webservice but somehow i reached a point where I can't see the wood for the trees.
The service in the example requires HTTP authentication and to post some JSON content to a URL.
Nothing that complicated but som...
I have several like this in my HTML code:
<input class="table" type="checkbox" name="interest[]" value="finger food" />
and this in my PHP code:
$checkboxes = stripslashes($_POST['interest']);
//process the checkboxes
foreach ($checkboxes as $value) {
$selectedChkbx .= $value . ", ";
}
I am getting:
Warning: Invalid argume...
hi
i am trying to create a blog and a portfolio (both in one) wordpress theme
im using categories for my posts (as many other blogs). i am using one category named portfolio, so that i can distinguish all my portfolio post from the blog posts.
when use click on one of the portfolio post they go to a page, where they get some picture...
NOTE: The issue was resolved, I was apparently editing the wrong file. Silly me. Thanks
I am using an image upload script that posts file to the a PHP script that then saves the file to the server. Here is the upload form:
<form action="upload.php" method="post" name="image_upload" id="image_upload" enctype="multipart/form-data">
...