Toggle navigation
Find or Create a Group
Help
Log In
Sign Up
Help
Log In
Sign Up
Home
Messages
Hashtags
Subgroups
×
×
×
Close
Likes
main@rest-client.groups.io
Topics
Set custom headers and cookies
×
Close
Search
Date
Date
1 - 1 of 1
previous page
next page
Set custom headers and cookies
Rafael Righes <righes.testing@...>
#302
Hello,
I'm trying to set a custom header which has a value such as "X-Auth-Token_SUFFIX". Same value can be used as a cookie name.
I'm having a hard time to accomplish this using rest-client using the API and something like:
RestClient::Request.execute( :method => :put, :url => "#{@base_uri}/v2/authn/tokens/refresh", :headers => { :accept => "x-auth-token/cookie" }, :cookies => { "X-Auth-Token_SUFFIX" => <here_goes_token_contents> } )
Any help would be appreciated!
Regards,
Rafael Righes
More
×
Close
Verify Delete
Are you sure you wish to delete this message from the message archives of main@rest-client.groups.io?
This cannot be undone.
×
Close
Verify Repost
Are you sure you wish to repost this message?
×
Close
Report Message
Reason
Report to Moderators
I think this message isn't appropriate for our group. The Group moderators are responsible for maintaining their community and can address these issues.
Report to Groups.io Support
I think this violates the Terms of Service. This includes: harm to minors, violence or threats, harassment or privacy invasion, impersonation or misrepresentation, fraud or phishing.
Note:
Your email address is included with the abuse report.
×
Close
Split Topic
The new topic will begin with this message. Subject of the new topic:
1 - 1 of 1
previous page
1
next page
Previous Topic
Next Topic
More
Home
Hashtags
Subgroups
About
Features
Pricing
Updates
Terms
Help
Twitter
Toggle navigation
About
Features
Pricing
Updates
Terms
Help
©
2022
Groups.io