Questions tagged [http-request]

HTTP Request is a message within a request/response sequence, according to HTTP specification. May also refer an HttpRequest class in software frameworks and libraries that automates relevant functionality

From W3C specification:

A request message from a client to a server includes, within the first line of that message, the method to be applied to the resource, the identifier of the resource, and the protocol version in use.

    Request       = Request-Line              ;
                    *(( general-header        ;
                     | request-header         ;
                     | entity-header ) CRLF)  ;
                    CRLF
                    [ message-body ]          ;

See also:

355 questions
0
votes
1 answer

Send data to php page from button and post results

Ok. The problem is I am working on a website that you can easily up-vote or down-vote a certain image/video etc. Now the thing that came up was SENDING the request. I can process most php things and so on so forth, I can also do database requests;…
user282190
  • 300
  • 4
  • 20
0
votes
0 answers

Successive $http posts in service sending the same parameters twice

Using Angular 1.2.7, I have written a service to upload files to s3: files are chosen in the interface with a multiple file input field, and the service is called for each of the files in a loop in the controller: for file, index in $files …
mulus
  • 475
  • 1
  • 4
  • 7
0
votes
1 answer

can we set our ip address to be used in Perl SSLeay request?

I'm modifying CGIProxy to be enable to pass client IP address to remote/target, so remote will identify that the request is from client (not proxy server). Is it possible to do this thing? CGIProxy uses SSLeay for sending request to SSL server. But…
sigeje
  • 328
  • 3
  • 8
0
votes
0 answers

Persisting a large data set in PHP

I work for a government organization that develops databases slowly ;-) I need a way to retrieve and filter up to 1.2 gigs of data efficiently as a short-term solution while the database is being developed. Thread safety is not an issue as the data…
0
votes
1 answer

RSpec request spec for user_login via API

I'm trying to write a request spec for my user_login API, but can't figure out how to get a valid user that doesn't return a wrong username or password 401 invalid error. Here is my spec: require 'spec_helper' describe User do subject(:user) do …
Arel
  • 3,888
  • 6
  • 37
  • 91
0
votes
2 answers

Android Http request ClientProtocolException

I have an API that seems to be working perfect when I test it using Firefox's "REST Client" or Google Chrome's "Simple REST Client" However, when I send an Http request using Android SDK I get the following exception: ClientProtocolException: the…
Helal Ismail
  • 518
  • 1
  • 10
  • 22
0
votes
0 answers

Unicode characters in JSON dictionary request showing incorrectly

I have a RichTextBox which continuously receives data in JSON dictionary format. (It's a chat program) However, when receiving unicode characters (or any like these: ç ù é è à) , they literally look like this: \u0361 \u00b0 \u035c \u0296 \u0361…
Adam
  • 612
  • 4
  • 13
  • 23
0
votes
1 answer

ooyala not syncing description or labels with ooyala's backlot using drupals version 6 module.

Recently on our site ooyala's v1 api stopped allowing us to sync with ooyala's backlot. Our site is built on Drupal, version 6. So I upgraded to the latest version 6 Ooyala module and made the changes to our local code. Now I can use a…
H0miet
  • 91
  • 1
  • 10
0
votes
3 answers

how is already loaded php script processed by server if there is another request from the same page

I real beginner and try to understand how things work more then to develop stuff, and now i can't move forward till someone gives me an accurate answer about a little detail of following issue. Let's assume there's a page with php code…
Vasyl Nekohda
  • 171
  • 1
  • 1
  • 7
0
votes
1 answer

Check for resources that are being loaded, but not used

I remember there were a few sites out there previously that would check for unused CSS. I'm hoping there's something similar out there that will check for any resources loaded over HTTP that aren't used. For example, building a site with bootstrap…
0
votes
2 answers

How can I connect to a URL in a desktop Windows application Installer?

I want to verify online if the installer can proceed. If I can change the website to whatever I need, is there any way to make this verification in a WiX generated MSI for a desktop app?
Jader Dias
  • 162
  • 1
  • 9
0
votes
1 answer

request/response parameters are encoded by browser by default?

when i send the request to webserver, as per my understanding , browsers does not encode the request paramtersfor example :- some value entered by user under textarea (be it post or get form submission) by default. Similarly webservers(specially…
emilly
  • 10,060
  • 33
  • 97
  • 172
0
votes
1 answer

Your thoughts on optimizing a video portal in PHP for performance

I hit here for your valuable suggestion on optimizing one of our client’s video portal which is getting built-up in an optimal way. We have developed the site in core php with mysql and used a few technologies to making it faster. One thing we find…
0
votes
1 answer

Ajax and Site Performance

I am learning php and Ajax while creating a plugin for wordpress, managed to finish it up. It counts number of clicks and impressions that all banner on sites gets. U place banners through that plugin etc...anyway I just finished adding number of…
Goran Jakovljevic
  • 2,714
  • 1
  • 31
  • 27
0
votes
1 answer

Use PersistentCookieStore globally

I have a PersistentCookieStore and I want to use it globally so it means It writes cookies into it in login.java, and I want to perform requests with theese cookies in mainactivity.java How can I do this? Actually I declare the PCS like…
Phil
  • 583
  • 4
  • 7
  • 19