Questions tagged [request]

A request is a message sent by a source to another object.

A request is a message sent by a source (e.g. computer, client, browser ...etc) to another object or device (e.g. server, computer, phone, app ...etc).

src : wikipedia link

17442 questions
3
votes
1 answer

The GET method is not supported for this route. Supported methods: POST. laravel-8

I created routes with type (POST), and when visit it directly, it get this error: The GET method is not supported for this route. Supported methods: POST. how to handle getting this error if anyone visit it from URL without press a form submit or…
Mahmoud Diab
  • 511
  • 1
  • 7
  • 21
3
votes
1 answer

http request using sockets on c++

I'm trying to do an HTTP request using sockets on Linux, and my function works now, but only with simple domains as www.google.com or webpage.000webhostapp.com. When I try to add a path and query like…
bonii
  • 71
  • 1
  • 9
3
votes
2 answers

how can listen to http and https requests with julia

I want to set up a telegram webhook and I need to receive https requests. How can I make my ip an accessible url? I was doing this in Python with aiohttp.
3
votes
0 answers

How to use the certificates CA Certificate, Client Certificate, Client Key while sending a secure SSL/TLS request in a flutter mobile app

Docker Engine provides encrypted API(works on HTTPS (SSL/TLS)) that requires: ca.pem (CA Certificate) cert.pem (Client Certificate ) key.pem (Client Key) while sending an API request. https://docs.docker.com/engine/security/protect-access/ In…
mtabishk
  • 31
  • 1
3
votes
1 answer

Unable send Postman request when header contains Japanese character

Header field in Postman: --header 'Dropbox-API-Arg: {"path": "/テスト自動化/test.xlsx"}' And next to this field has an warning: value contains non iso 8859 1 characters I got error response when sending request: Could not send request Error: Invalid…
LDT
  • 59
  • 2
  • 8
3
votes
2 answers

Proper HTTP response for unsupported page format (e.g. xml)?

Situation I'm trying to create a REST API, where users can request responses in different formats. For example, user can access: example.com/oranges/1.xml (returns results in XML) example.com/oranges/1.json (returns results in…
dadads
  • 201
  • 1
  • 8
3
votes
1 answer

Pinging localhost in Swift w/ Xcode

Eventually my Swift frontend will make API calls to an external server, but in the development process, I want to test things locally on my computer. How do I reach my localhost server from Xcode? At this point I'm just trying to ensure contact--I…
John Sorensen
  • 710
  • 6
  • 29
3
votes
1 answer

Is there a way to get a single response from a text/event-stream without using event listeners?

I'm writing a script in Google Sheets to retrieve a value from an API. The API provides text/event-stream responses ~every 10 seconds. Is there a way I can retrieve a single response without using async functions or event listeners? I'm not very…
3
votes
2 answers

Error using axios interceptors and responses

I'm using "axios": "^0.23.0", with ReactJs and Typescript. I want to intercept requests and responses and add the user's token. When I try to use the request interceptor, I get the following error: Object is possibly 'undefined'. TS2532 (property)…
Antonio José
  • 473
  • 2
  • 5
  • 14
3
votes
1 answer

How to use private API keys in Nuxt to send a request after click a button?

I'm saving my API credentials in the privateRuntimeConfig option of the nuxt.config.js file. I want these keys secure in server, I don't want these in client. Now, I want to send a request to the API after the user click a button, but I need to use…
Carlos Tinnelly
  • 503
  • 1
  • 3
  • 20
3
votes
1 answer

Express / NodeJS Can't send headers after they are sent caused by http requests

First time working with NodeJS (yes, it's awesome) and also using Express as well. Got the web app / service working great but I run in to problems when trying to make more than one http request. Here's a video of how the app causes 2 http…
Rick Blalock
  • 31
  • 1
  • 3
3
votes
1 answer

How to use pd.read_html() to extract table data from a website without error in Python?

I have created a program that collects table data at the following location. And when extracting data in soup library, it appears fine, but when converting html codes to a table using pandas library pd.read_html(table) I get an error message, I…
3
votes
1 answer

pass ip address in python requests instead of url link

i wanna pass ip address in python requests instead of url link. e.g: instead of requests.get(url="https://www.google.com") use: requests.get(url="172.217.168.228") So basically pass ip instead of url. How can i do this? i guess i should pass…
Ali
  • 922
  • 1
  • 9
  • 24
3
votes
2 answers

running form javaws - jakarta.ws.rs.client is not sending requests after first one? Client caching?

I have a Java client application that sends REST request to retrieve some data form a REST service. I'm setting the client up like this: import jakarta.ws.rs.client.ClientBuilder; import jakarta.ws.rs.client.Client; import…
PaulEdison
  • 897
  • 1
  • 15
  • 36
3
votes
2 answers

How to deal with tons of simultaneous UPDATE request to one record in mySQL database and determine who arrived first

I have designed a website displaying books for rent using php and mySQL. When someone click on the book, an information page with countdown timer will be displayed and the user has 10 seconds to decide whether he want to borrow it. If the time is…
Albert
  • 33
  • 2
1 2 3
99
100