You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
cannot access set-cookie headers when making any requests inside app (GET/POST/PATCH etc)
To Reproduce
Steps to reproduce the behavior: tried within my service file, made a seperate one for testing purposes:
class ServiceMonitor extends ServiceBase {
@backgroundMethod()
async test() {
const result = await axios.post('https://jsonplaceholder.typicode.com/posts', {
userId: 1,
title: 'Test Title',
body: 'Test Body',
});
console.log(result.data);
}
}```
**Expected behavior**
should be able to access set-cookie header from response
**Desktop (please complete the following information):**
- OS: macOS
- Browser [e.g. chrome, safari]
- Version [all]
**Additional context**
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
yes, I know that. im more looking for the best way to go about making these requests to get the set-cookies inside this app, I'll open a PR once done. what do you suggest?
Describe the bug
cannot access set-cookie headers when making any requests inside app (GET/POST/PATCH etc)
To Reproduce
Steps to reproduce the behavior: tried within my service file, made a seperate one for testing purposes:
The text was updated successfully, but these errors were encountered: