Results for postwithparams translation from English to German

English

Translate

postwithparams

Translate

German

Translate
Translate

Instantly translate texts, documents and voice with Lara

Translate now

Human contributions

From professional translators, enterprises, web pages and freely available translation repositories.

Add a translation

English

German

Info

English

function postwithparams() { // set up the array of post parameters.

German

{ // richtet das datenfeld der post-parameter ein.

Last Update: 2018-02-13
Usage Frequency: 1
Quality:

English

function postwithnamedargs() { // set up the array of post parameters. params = new array(); params[1] = {name:"arg1", type:"formfield", value:"value1"}; params[2] = {name:"arg2", type:"url", value:"value2"}; params[3] = {name:"arg3", type:"cgi", value:"value3"}; url = "http://localhost:8100/"; path = application.getcontext("/").getrealpath("/"); file = "foo.txt"; result = cf.http({method:"post", url:url, username:"karl", password:"salsa", resolveurl:true, params:params, path:path, file:file}); if (result) return result.get("statuscode"); return null; } // example of a basic http get operation // shows that http get is the default function basicget() { url = "http://localhost:8100/"; // invoke with just the url. this is an http get. result = cf.http(url); return result.get("filecontent"); } // example showing simple array created to pass params arguments function postwithparams() { // set up the array of post parameters.

German

function postwithnamedargs() { // richtet das datenfeld der post-parameter ein. params = new array(); params[1] = {name:"arg1", type:"formfield", value:"value1"}; params[2] = {name:"arg2", type:"url", value:"value2"}; params[3] = {name:"arg3", type:"cgi", value:"value3"}; url = "http://localhost:8500/"; path = application.getcontext("/").getrealpath("/"); file = "foo.txt"; result = cf.http({method:"post", url:url, username:"karl", password:"salsa", resolveurl:true, params:params, path:path, file:file}); if (result) return result.get("statuscode"); return null; } // beispiel für einen grundlegenden http-get-vorgang. // zeigt, dass http get die standardfunktion ist. function basicget() { url = "http://localhost:8500/"; // aufruf erfolgt nur mit der url. dies ist eine http-get-methode. result = cf.http(url); return result.get("filecontent"); } // beispiel für ein einfaches datenfeld, das für die Übergabe von parameter-argumenten erstellt wurde. function postwithparams() { // richtet das datenfeld der post-parameter ein.

Last Update: 2018-02-13
Usage Frequency: 1
Quality:

Warning: Contains invisible HTML formatting

Get a better translation with
9,141,845,537 human contributions

Users are now asking for help:



We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies. Learn more. OK