request-headers Questions

3

I'm trying to add a Twitter authorization button that gets me user oauth_token & oauth_token_secret which allows our tool to do actions against on the user's behalf. import NextAuth from "...
Soupspoon asked 19/11, 2022 at 7:52

1

I was not successful in getting a web application rendered with its mobile friendly interface by using the User-Agent Switcher & Manager extension. After further digging, I noted that although ...
Undergrown asked 20/1, 2022 at 8:19

1

I'm working on adding propagation to HotChocolate GraphQL server but simply can't get it working. I've configured my propagation in my ConfigureServices services.AddHeaderPropagation(o => o.Head...
Talton asked 10/12, 2021 at 7:59

5

Solved

It's my first time using GraphQL and I'm trying to access the content of a given query but I can't access this given query because of lack of permissions, in this case I have been given a username ...
Marianelamariani asked 25/2, 2021 at 12:55

14

I'm working through a MERN sign up/login auth tutorial on youtube that uses Redux. When attempting to POST a test user to the server in Postman, I receive the 431 header request is too large error ...
Benedict asked 9/8, 2019 at 13:41

3

I am using npm 'isomorphic-fetch' to send requests. The problem I am experiencing is I am unable to set the content-type of the request header. I set a content type of application/json , however t...

2

I am interacting with Office graph using C# Office Graph SDK. I need to create specific request header, while I am using GraphServiceClient and RequestBuilder to create the request. How can I achie...

5

Solved

When I make a request, I get a response in XML, but what I need is JSON. In the doc it is stated in order to get a JSON in return: Use the Accept: application/json HTTP Header. Where do I find the...
Kagera asked 4/4, 2017 at 14:20

4

Solved

I'm attempting to make requests to a client's web service (I don't know the underlying platform at the client). I've consumed the client's WSDL in Visual Studio 2010 using "Add Web Reference" and g...
Viscount asked 23/1, 2013 at 20:42

1

Solved

server (local development LAMP server) side is php , browsers tested are chromium & librewolf (firefox flavour), both are showing the same behaviour therefore I assume there is something wrong ...
Lepp asked 30/10, 2022 at 18:19

5

I created a sample react app using "create-react-app". I need to set the request headers with X-Frame-options and Content-Security-Policy. How do I do this? I just tried to update my index.html wit...
Haydeehayden asked 18/4, 2018 at 9:56

1

I want to intercept all XHR requests being sent, and change their URL and headers before the request gets sent. Found this similar question but there are no answers there. I tried hooking XMLHttpRe...

9

func webView(webView: WKWebView!, decidePolicyForNavigationAction navigationAction: WKNavigationAction!, decisionHandler: ((WKNavigationActionPolicy) -> Void)!) { var request = NSMutableURLRequ...
Tribromoethanol asked 11/3, 2015 at 10:33

0

How do I intercept XHR requests and console.log the headers and their values? I have tried this: const origOpen = XMLHttpRequest.prototype.open; XMLHttpRequest.prototype.open = function() { this...
Hemipterous asked 18/6, 2021 at 20:45

1

Solved

I am quite new to Python. I want to confirm that the type of the dataset (URL in the code below) is indeed a csv file. However, when checking via the headers I get 'application/octet-stream' instea...
Dilapidation asked 22/3, 2021 at 16:28

1

Solved

Can anybody explain what is the difference between the request header and content header? In this particular case I'm talking about UWP HttpClient object. First you create HttpClient, then you crea...
Stepmother asked 27/2, 2021 at 7:8

2

Solved

I am sending a zip file from my nodejs server to the browser using the following res.set("Content-Type", "application/octet-stream"); res.set("Content-disposition", `a...
Asquint asked 8/2, 2021 at 14:59

4

Solved

I am new to web programming in general, especially in Java, so I just learned what a header and body is. I'm writing RESTful services using Spring MVC. I am able to create simple services with the...
Westerfield asked 24/10, 2013 at 2:50

2

Solved

I am trying to login using puppeteer at https://kith.com/account/login?return_url=%2Faccount When I login and solve the captcha with audio, it detects me as a bot, so I am trying to change the requ...
Skip asked 23/7, 2020 at 19:37

1

I've used Chrome developer tools to inspect network activity and filter the mpd file. I've get the URL of the mpd with the context menu copy link address. But when I've assembled the youtube-dl com...
Hillier asked 18/6, 2020 at 10:27

1

Solved

When using Cro with HTTP1.1 I can access the requested Host via both the host method request.uri.host in Cro::Uri as well as the Host or :authority header sent by the browser via the request.header...
Sporophyll asked 8/6, 2020 at 1:18

2

Solved

I want to read the request cookie during a test written with the puppeteer. But I noticed that most of the requests I inspect have only referrer and user-agent headers. If I look at the same reques...
Farceuse asked 2/11, 2017 at 15:12

2

Is there anyway to allow multiple cross-domains using Access-Control-Allow-Origin in the web.config file? Currently I am using * to allow multiple domains at once. <add name="Access-Control-Al...
Steeplechase asked 17/7, 2014 at 5:6

3

Solved

I have added both an output formatted and an input formatted for xml for my API solution //add formatter to support XML media type results(application/xml) setupAction.OutputFormatters.Add(new Xml...
Brachyuran asked 27/11, 2017 at 18:49

1

Solved

I have a basic SPA (react) <-> API (net core 2.2) setup, with 2 environments: dev and prod (small project). There is an authentication mechanism on the API side that checks the presence of a htt...

© 2022 - 2025 — McMap. All rights reserved.