We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
how can i get the response head
Sorry, something went wrong.
i don't know
Hi @gx191179173, @qq292,
after quick reading through the souces: It should be
resp.getResponseHeader
Bit better example looks like this: reqwest({ url: 'path/to/json' , type: 'json' , method: 'post' , error: function (err) { } , success: function (resp) { // resp.getResponseHeader // just print resp console.log(resp); } })
reqwest({ url: 'path/to/json' , type: 'json' , method: 'post' , error: function (err) { } , success: function (resp) { // resp.getResponseHeader // just print resp console.log(resp); } })
After console.log(resp) you will see in the output what's inside the response. Then you can simply select the data needed for your usecase.
Hope this helps :) Happy Codin' ! ~Jan-Stefan
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: