Top "Http-accept-header" questions

Questions related to the HTTP Accept header, which defines the content types the client advertises it will accept.

C# Add Accept header to HttpClient

What is the difference between these two calls? My end goal is to have Accept: application/json sent over the …

c# httpclient dotnet-httpclient .net-core-2.0 http-accept-header
Swagger-UI Response Content Type

Is it possible to add the Response Content Type select box without creating the Response Class (Status 200) schema? My web …

swagger swagger-ui http-accept-header
Add Accept header to JQuery AJAX GET (via JSONP) request

I'm trying to add an accept header to a jQuery AJAX GET request which uses the "jsonp" dataType, but for …

jquery ajax get jsonp http-accept-header
How to specify to accept multipart/related content type with particular content types for body part in the accept header field

RFC 7231 - HTTP/1.1 Semantics and Content, 5.3 Content Negotiation does not define how to specify to accept a multipart/related content …

http http-headers mime-types multipart http-accept-header
Using curl with a --config file

I've been making curl requests to a long URL and saved the URL in a file named "url.txt". I …

curl http-accept-header