Allow per request settings override Rest Client system settings
See original GitHub issueI’d like to be able to set per-request settings and change the value of a Rest Client setting.
Reading this made it appear that it was possible, but reading the syntax regex’s, it looks like only @note
is currently supported.
In my case, I’d like to disable followRedirect
for a single request.
###
# @name login
# @followredirect=false
GET http://localhost/login HTTP/1.1
I imagine other settings would be nice to override as well. 😃
Issue Analytics
- State:
- Created 3 years ago
- Reactions:8
- Comments:5 (2 by maintainers)
Top Results From Across the Web
RestSharp Next (v107)
Most of the client options are moved to RestClientOptions . ... happens once per RestClient instance, and it cannot be changed per request....
Read more >Update the system configuration (REST API method) - IBM
Update the system configuration ... Use this command to set any of the properties on the System Settings page of the server. The...
Read more >Make HTTP requests using IHttpClientFactory in ASP.NET Core
The configuration is moved into the typed client. ... The default value can be overridden on a per named client basis:.
Read more >Edit map service settings—ArcGIS Server
Allow per request modification of layer order and symbology—Optionally, you can choose to allow clients, such as the ArcGIS Web APIs, to change...
Read more >Cluster update settings API | Elasticsearch Guide [8.5] | Elastic
However, a change to an elasticsearch.yml setting will not override a ... The API doesn't require a restart and ensures a setting's value...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@johnwebbcole @kherock @druppelt @zigiprimo @AlexanderButs @timlynch2k @svi3c @xmedeko @itslooklike request level metadata/settings are supported now, and the
no-redirect
setting can be added when you don’t want to follow redirects. And more request level settings will be added.Example:
@JefSchraag it’s not released