request Questions

8

Solved

Trying to figure out why I cannot get this to work? Also, console does not give much of a result. Scenario: Making the POST request to get the response with TOKEN Save the response token to collec...
Barocchio asked 29/9, 2022 at 9:2

4

I have been stuck with this for a bit. I need to test a website and I need to post info in order to test if it appears on the page. What I have so far is this (async () => { const browser = aw...
Annulet asked 10/6, 2020 at 1:40

5

Solved

I am new to node.js, I use request send the post request.but I got a error! request({ method: 'POST', url: config.api + '/index', body: { name: "name" }, json: true }) throw er; // Unhan...
Disini asked 5/7, 2017 at 15:44

4

I created a Java application that sends an HTTP POST request to another server. The firewall in the server is off. The firewall in the PC is off. The application works perfectly on the PC in the ...
Aluminothermy asked 20/11, 2018 at 8:59

8

Solved

I'm trying to send a post request in Flutter with DIO package. Here is the request: getSessionId() async { var csrf = await getCsrftoken(); var dio = new Dio(new Options( baseUrl: "http://x...
Calcify asked 27/9, 2018 at 12:54

7

Solved

I'm learning Python by following Automate the Boring Stuff. This program is supposed to go to http://xkcd.com/ and download all the images for offline viewing. I'm on version 2.7 and Mac. For s...
Corr asked 11/6, 2015 at 1:44

5

Solved

We use axios for http requests such as get, post, etc. We use express for the same purpose also. However according to what I read, they are for different purposes. Please explain how. PS: If you e...
Overnight asked 7/6, 2020 at 10:37

7

I'm working with Laravel, suddenly when I try to run php artisan serve in my command prompt, it's displaying the error message: In Container.php line 729: Class request does not exist I have ...
Christiniachristis asked 15/6, 2018 at 6:0

3

Solved

I have got a problem with C# and a simple HTTPS-Request... I want to request this URL: https://api.sipgate.com/v1/ In a webbrowser it works fine, but my C#-Code doesn't work :( Has anybody an idea...
Fate asked 18/3, 2017 at 11:11

5

I have an NetworkRequest class, where all my Alamofire requests are made: class NetworkRequest { static let request = NetworkRequest() var currentRequest: Alamofire.Request? let dataManager ...
Renfrow asked 23/8, 2016 at 6:40

5

That is, the total amount of data downloaded across all resources (including video/media), similar to that returned by Chrome DevTools' Network tab.
Apoplectic asked 15/1, 2018 at 12:46

3

Is there any straightforward way to get URL path segment without any additional data (url parameters, css '#', etc.) for example: full URL: http://example.com/panel/list path segment I want to get...
Moonlighting asked 11/3, 2017 at 13:15

4

Solved

I am trying to use panda. When I import it as import panda as pd I get this error File "/usr/local/lib/python3.5/dist-packages/panda/__init__.py", line 1, in <module> from request impor...
Cotonou asked 27/7, 2017 at 12:59

4

Solved

I am trying to make HTTP Requests from Delphi using the WinInet functions. So far I have: function request:string; var hNet,hURL,hRequest: HINTERNET; begin hNet := InternetOpen(PChar('User Agen...
Pacifica asked 1/12, 2009 at 1:49

13

I saw several posts on the subject but without result. I have on the one hand a form which collects information (name, first name etc) then saves it in database (mongodb). Everything works when I u...
Stroy asked 11/3, 2020 at 15:56

13

Solved

I'm running an express.js application using TypeScript. Every time I try to process request.query.foo I get the following error: Argument of type 'string | ParsedQs | string[] | ParsedQs[] | undefi...
Colcannon asked 22/8, 2020 at 16:43

5

Solved

Please, help me to find how to optimize my code. I need to limit the data for logged user. To do that, I need to get UUID from JWT token from Request. But I don't like my approach because I have du...
Emmer asked 7/9, 2019 at 12:25

31

Solved

It seems like CORS error is well-known issue in the web field. But I tried flutter web for the first time ever and I faced critical error. The code below worked well in app version when it was runn...
Flunk asked 8/1, 2021 at 14:20

19

Solved

I'm using node.js request.js to reach an api. I'm getting this error [Error: UNABLE_TO_VERIFY_LEAF_SIGNATURE] All of my credentials are accurate and valid, and the server's fine. I made the sa...
Wellgrounded asked 19/11, 2013 at 21:54

9

Solved

I need to define my Service Worker as persistent in my Chrome extension because I'm using the webRequest API to intercept some data passed in a form for a specific request, but I don't know how I c...

2

Solved

I have 3 tables with the exact same structure and I need to query them as one big table, order and limit this big table as a whole. The limit is an offset as I use a pagination. This is what I hav...
Phrasal asked 4/2, 2014 at 23:41

2

Solved

I'm building an API in PHP. One of the methods is place.new (PUT request). It expects several string fields, and it also expects an image. However I can't get it working. With a POST request ...
Mellins asked 21/5, 2011 at 10:30

5

Solved

I have the code (below) and one developer said to me that I had to validate my request: router.post('/dashboard', passport.authenticate('jwt', { session: false }), (req, res) => { try { let n...
Rickettsia asked 7/12, 2021 at 7:8

7

Solved

My api expects an empty json body ({ }) when making post requests. How do I set this up in Retrofit and Jackson? I tried passing null, and empty string, and "{}" but could not get this to work. @...
Spew asked 15/6, 2017 at 20:2

7

Solved

I'm handling data in one controller and want to pass it further into another controller to avoid duplicate code. Is there a way to set up a Request object that is needed in the other controller's ...
Estivate asked 26/10, 2016 at 12:57

© 2022 - 2024 — McMap. All rights reserved.