http-request Questions
4
Solved
I'm trying to use the Requests library to send cookies with a post request, but I'm not sure how to actually set up the cookies based on its documentation. The script is for use on Wikipedia, and t...
Anesthetize asked 23/8, 2011 at 16:57
3
Solved
I am using Nginx in front of 10 mongrels.
When I make a request with size larger then 2900 I get back an:
error code 414: uri too large
Does anyone know the setting in the nginx configuration...
Shoulders asked 1/7, 2009 at 4:59
4
Solved
So I recently stumbled upon this great library for handling HTTP requests in Python; found here http://docs.python-requests.org/en/latest/index.html.
I love working with it, but I can't figure out...
Ulcerous asked 7/6, 2011 at 4:3
7
I want to find out whether an incoming HTTP_REQUEST call from a third party website is coming from the list of domains that I defined.
I know that HTTP_REFERER can be used to find out where the th...
Gosney asked 30/12, 2010 at 21:24
3
Solved
I'm using the Python requests library. I'm trying to figure out how to extract the actual HTML body from a response. The code looks a bit like this:
r = requests.get(...)
print r.content
This sh...
Villiform asked 27/1, 2012 at 5:19
2
Solved
I am using Jetty web server, and Jersey for REST handling.
I defined:
@POST
@Path("/sendMessage")
@Consumes ({MediaType.APPLICATION_XML, MediaType.TEXT_XML})
public Response sendMessage(@Context ...
Franz asked 2/1, 2012 at 10:50
4
Solved
I'm building a WebClient library. Now I'm implementing a proxy feature, so I am making some research and I saw some code using the CONNECT method to request a URL.
But checking it within my web br...
Perla asked 28/7, 2012 at 3:12
7
I'm using Node.js and express.
I would like to limit the HTTP request size. Let's say, if someone sends me a HTTP request more than 2 MB then I stop the request right away. I looked at the code a...
Safeconduct asked 29/1, 2012 at 0:52
5
Solved
How to handle exceptions with python library requests?
For example how to check is PC connected to internet?
When I try
try:
requests.get('http://www.google.com')
except ConnectionError:
# han...
Audraaudras asked 29/1, 2012 at 16:46
2
Solved
Are there any tools to trace the exact HTTP requests sent by a program?
I have an application which works as a client to a website and facilitates certain tasks (particularly it's a bot which make...
Rhinestone asked 29/4, 2013 at 21:1
2
Solved
I am using http://dingyonglaw.github.com/bootstrap-multiselect-dropdown/#forms to display a dropdown with multiple check boxes.
<li>
<label>
<input type="checkbox" name="filters" ...
Hemiterpene asked 26/7, 2012 at 14:10
4
Solved
I created a simple function to execute an Http PUT request -
public string checkIfUserExists(string userName)
{
var endPoint = new Uri("http://localhost:8080/jasperserver/rest_v2/users/"+userNa...
Jackass asked 31/3, 2015 at 11:43
3
Solved
In the following code:
#!/usr/local/bin/python
import json
APPLICATION_NAME = 'cc9226315643df89-36bf02429075329d0ba36748360d050c'
HEADERS1 = json.dumps(dict(Destination = u"/api/af/latest/applic...
Kine asked 18/9, 2013 at 8:59
2
Solved
I'm struggling with creating POST multipart/mixed request with Postman Chrome extension
Here is my curl request what works nice
curl -H "Content-Type: multipart/mixed"
-F "metadata=@simple_json....
Wilburnwilburt asked 4/10, 2013 at 10:18
4
Solved
Im looking a way to use different IP addresses for each GET request with standard Net::HTTP library. Server has 5 ip addresses and assuming that some API`s are blocking access when request limit pe...
Bellbird asked 9/6, 2010 at 23:24
3
Solved
I'm using python-requests module to handle oAuth request and response.
I want to set received access_token (response content as dict) in requests.session.cookies object.
How can I update existing ...
Anorexia asked 20/12, 2012 at 11:54
3
Solved
i need to send an HTTP request, I can do that but my API in Backendless requires application-id and secret-key in HTTP Request Header. Can you help how to add it into my code? Thanks
let urlString...
Parette asked 2/4, 2016 at 10:55
3
Solved
I'm making a POST request to upload a picture to a website.
In the page, there is one FileUpload and one input (textBox) and in fiddler I found out that the page is sending some data using Multipar...
Harlamert asked 25/6, 2012 at 21:34
1
Solved
I have an AWS Elastic Beanstalk (Node.js) setup behind an Elastic Load Balancer and alerts setup for the load balancer.
Each night I get tons of alerts for:
Environment health has transitioned fro...
Cartwright asked 4/1, 2017 at 7:20
2
I have a simple angular app that has two views that are loaded using ngRoute. I need to do some clean up on the server when the user navigates between views and when the user leaves the page (refre...
Bacteroid asked 10/2, 2014 at 22:29
1
I'm trying to send an image to remote server from nodejs server. Here's the request format so far.
Note: Just like binary request in postman and choosing a file and sending)
function upload(optio...
Playa asked 24/6, 2016 at 23:23
1
Solved
With v1.8.10 of the http-request plugin for Jenkins (I'm running 1.643), there is now support for POSTing a body in the request -- so this thread does not apply. I am wondering how to use this func...
Zelma asked 21/6, 2016 at 13:8
0
I'm struggling with creating POST multipart/mixed request with Postman Chrome extension. I keep getting HTTP 500.
Already gone through this question, but sadly solution doesn't works for me.
Here...
Frost asked 11/4, 2016 at 5:50
1
Solved
In Laravel 5.2, i have added my Event Listener (into app\Providers\EventServiceProvider.php), like:
protected $listen = [
'Illuminate\Auth\Events\Login' => ['App\Listeners\UserLoggedIn'],
];
...
Reticulation asked 8/4, 2016 at 7:18
0
I am pretty new to Web Dev, and Meteor, and all things REST, but I am trying to write a server side method to make a Meteor http post request to a third party server, and upload an image to it. I a...
Kun asked 28/2, 2016 at 3:1
1 Next >
© 2022 - 2024 — McMap. All rights reserved.