Questions tagged as 'get'

1
answer

Observer type bool C ++

I'm trying to solve this exercise: The Dice class manages the launch of 2 dice. A) The constructor receives two optional parameters with the initial value for the given 1 and the given 2 respectively. If the dice do not receive an initial...
asked by 25.08.2018 / 13:33
1
answer

Passing variable from html form to nodejs

I am creating a webproxy with nodejs to be able to access "anonymously" to another site, so this is my server: const http = require("http"); const url = require("url"); const request = require("request"); const fs = require('fs') var server =...
asked by 23.08.2018 / 02:58
1
answer

How to recover variables sent by Angular in PHP?

I'm trying to send a data by getting from an Angular 5 service to an API in PHP. The way I send it is like this: public getMembers$(id): Observable<any> { return this.http.get(this.URL + 'read_records.php?id=1'); } The variable t...
asked by 23.06.2018 / 14:12
1
answer

Failed to decode JSON object when calling GET request with Flask Python

I try to send a GET request after sending a message to a server, but I receive an error. I think it's because @app.route('/chat',methods=["POST"]) def chat(): try: user_message = request.form["text"] response = requests.pos...
asked by 06.06.2018 / 14:53
2
answers

Extract data from an array

I have the following code: if (!$curld = curl_init($dominio)) { echo "Could not initialize cURL session.\n"; exit; } curl_setopt($curld, CURLOPT_RETURNTRANSFER, true); curl_exec($curld); echo "<pre>"; print_r(curl_getinfo($curld)...
asked by 22.06.2018 / 18:01
1
answer

Java: Use GET and POST in the same Form

What I want to do is send the parameters from Form to POST and then through the method GET consult the BBDD for room availability and send that result through Ajax (Vanilla Javascript) to HTML But from...
asked by 13.03.2018 / 20:37
2
answers

address via get

My query is the following, I need to address to the same page that is created in php with html code, and within it I have a validation form via post, when I send the post to the same page that is index, valid those fields with php, then if there...
asked by 17.09.2017 / 00:49
1
answer

Enter values within Variable python

#!/usr/bin/python # coding=utf-8 import time from selenium import webdriver import xlsxwriter from Data_tags import Inventory_data driver = webdriver.Chrome('/Users/Martin/Desktop/chromedriver') def run(d): login("Usuario", "pass") New...
asked by 09.10.2017 / 23:13
2
answers

Is it possible to prohibit access to PHP documents from URLS?

I have .php files that make includes of other files, and AJAX scripts that need to make requests to other .php documents. For example, Document X.php has an AJAX script that sends a request to a B.php document and brings some information. Obv...
asked by 12.05.2018 / 08:06
2
answers

Help with extracting URLs with php

How can I extract a specific url from a website? Because the url of this web is dynamic I would like to extract it and follow it with php and turn it into a url of mine. Example: See internal code and extract url from mp4 video from: www....
asked by 06.08.2017 / 06:13