httprequest Questions
3
Solved
I want to screen-scrape a website and for that I want to use Http, Socks4 and Sock5 proxies. So my questions are as follows:
Is it possible to use these proxies through Java without using any oth...
Satori asked 16/1, 2010 at 15:50
10
Solved
This is how I call a service with .NET:
var requestedURL = "https://accounts.google.com/o/oauth2/token?code=" + code + "&client_id=" + client_id + "&client_secret=" + client_secret + "&...
Asquint asked 21/8, 2013 at 8:15
3
Solved
I am trying to send 100 requests at a time to a server http://httpbin.org/uuid using the following code snippet
from fastapi import FastAPI
from time import sleep
from time import time
import requ...
Penthea asked 13/9, 2020 at 16:18
5
My question is closely related to this one.
I'm using the Requests library to hit an HTTP endpoint.
I want to check if the response is a success.
I am currently doing this:
r = requests.get(url)...
Planchette asked 6/11, 2017 at 19:46
11
Solved
I'm on Ubuntu 12.10 with OpenSSL 1.0.1c, python 2.7.3, Requests 1.0.3 and 1.0.4 (tried both), and when attempting to connect to the website in the url variable with the following code.
def SendIni...
Substratosphere asked 31/12, 2012 at 13:51
8
Solved
I've a following network log in chrome:
I don't understand one thing in it: what's the difference between filled gray bars and transparent gray bars.
Talaria asked 23/3, 2015 at 8:42
14
Solved
How can I make an HTTP request from within Node.js or Express.js? I need to connect to another service. I am hoping the call is asynchronous and that the callback contains the remote server's respo...
Selry asked 6/3, 2012 at 3:43
4
Solved
How do I log requests being sent with with httparty?
HTTParty.post(
@application_url,
:headers => {
"Accept" => "application/json",
"Content-Type" => "application/json; charset=utf-8"...
Quirinus asked 14/3, 2014 at 20:9
11
Solved
Update: This is NOT a duplicate of How do I send a POST request with PHP?. The solutions there don't work for me, they just output the result of the request, I don't want to do this, I want to send...
Tetroxide asked 4/9, 2015 at 0:59
2
Solved
I realized that currently there are at least three "official" Dart libraries that allow me to perform a HTTP request. What is more, three of those libraries (dart:io (class HttpClient), package:htt...
Rattoon asked 16/5, 2015 at 17:2
3
Solved
I am using Axios in my project to call some third-party endpoints. I don't seem to understand the
error
Nest can't resolve dependencies of the HttpService (?). Please make sure that the argument
A...
Receptacle asked 1/8, 2020 at 17:49
2
How do I cancel further processing if the connection is closed before 10 seconds?
There is c.Request.Context().Done() but coudn't find an example on how to use it.
func main() {
r := gin.Default()...
Libreville asked 5/7, 2020 at 11:38
17
Solved
I am trying to create a Android project where I authorize a user by having him log into Amazon Cognito in a browser, which should then redirect back to my app. Unfortunately, when the browser opens...
Capping asked 19/6, 2018 at 20:52
15
Solved
When I do a POST request on localhost:8080/api/users to create a new user I get the following error :
{
"timestamp": "2018-05-28T09:44:55.704+0000",
"status": 415,
...
Spangler asked 28/5, 2018 at 9:52
2
Solved
I Designed a login page for SSO(Single Sign-On) by angular and the services for login developed separately by spring boot framework.
In the angular app, when submitted login form, login service ca...
Herbertherbicide asked 11/4, 2019 at 20:25
5
Solved
I have the below code, working as expected (given correct URL etc) as a POST request. Seems I have a problem reading the Status Code (I receive a successful 201, and based on that number I need to ...
Padegs asked 11/12, 2019 at 10:57
2
Solved
In a test, I'd like to look inside the body of a HttpRequest. I'd like to get the body as a string. It seems that the only way to do that, is to subscribe to the BodyPublisher but how does that wor...
Amanita asked 23/4, 2019 at 17:7
13
Solved
I am using Postman to test some Curl requests to an API server. The API developers gave us the curl command, but I can't send it from the Postman. How to make such a request from the Postman?
curl...
Bootblack asked 15/1, 2015 at 6:34
3
Solved
I have a program that is incrementing requests on a session cookie and printing them out to the console. Initially, I was trying to figure out how I could save this data. After logging in a couple ...
Liqueur asked 5/8, 2016 at 20:34
6
I'm trying to wrap http.request into Promise:
new Promise(function(resolve, reject) {
var req = http.request({
host: '127.0.0.1',
port: 4000,
method: 'GET',
path: '/api/v1/service'
}, funct...
Janniejanos asked 22/7, 2016 at 18:59
5
Solved
I have the following django template (http://IP/admin/start/ is assigned to a hypothetical view called view):
{% for source in sources %}
<tr>
<td>{{ source }}</td>
<td>...
Chaddie asked 5/7, 2012 at 0:11
1
Solved
According to
https://javascript.info/fetch-crossorigin#unsafe-requests
Safe headers – the only allowed custom headers are:
...
Content-Type with the value application/x-www-form-urlencoded, multip...
Phono asked 19/9, 2023 at 7:20
20
I use a web service for image processing , it works well in Postman:
Now I want to make http request in flutter with Dart:
import 'package:http/http.dart' as http;
static ocr(File image) as...
Siamang asked 6/3, 2018 at 7:9
17
Solved
How can I make an HTTP POST request and send data in the body?
Pitcher asked 25/10, 2010 at 14:5
16
Solved
I want to POST data from Postman Google Chrome extension.
I want to make 10 requests with different data and it should be at the same time.
Is it possible to do such in Postman?
If yes, can any...
Skirr asked 22/3, 2016 at 14:26
1 Next >
© 2022 - 2025 — McMap. All rights reserved.