Comments (6)
I do see in my console
Cross-Origin Read Blocking (CORB) blocked cross-origin response <host> with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details.
Is there a way to pass the header Access-Control-Allow-Origin
for these requests?
from node-jira-client.
@poloka Am I wrong in assumption that you are trying to run this on client (in web browser)? ;-)
from node-jira-client.
@dkokic you are correct. I have created a simple react app using create-react-app and tried to implement the jira-client. So I'm running this from localhost.
from node-jira-client.
"Cross-Origin" things usually needs a server configuration. It's between the browser and the server. I am afraid there is nothing we could solve in the scope of this module.
Moreover, node-jira-client
is build on top of request
and request-promise
https://www.npmjs.com/package/request and I don't think they are designed to work inside a browser..
There is certainly a way to refactor everything and make it work in a browser though.
from node-jira-client.
@pioug did you find any solution? i am having same issue.
from node-jira-client.
@Ahmar828 Try this client https://github.com/MrRefactoring/jira.js. Seems like it is build on axios, so it may work both in browser and node. If you have blocked cross-origin response
it can't be solve by any lib, you need to configure the endpoint server.
from node-jira-client.
Related Issues (20)
- Please add get issuetype by issue id
- Package size seems to be a bit excessive HOT 3
- Rank API calls failing HOT 2
- How can i know whether login is successful?
- api 1 call with api 2 configured? HOT 2
- jira.getUsersIssues() HOT 1
- Update worklogs API HOT 1
- Question: waiting for GetIssue to return a value in a loop HOT 3
- UNABLE_TO_VERIFY_LEAF_SIGNATURE
- Moving from request to axios HOT 6
- Move Ticket to another workflow (e.g. Transition to "In Progress") HOT 1
- Error object thrown by an incomplete request doesn't have relevant information HOT 2
- Can't use searchUsers in GDPR strict mode HOT 1
- Getting an "Invalid request payload" error with `addNewIssue` and an Atlassian Document Format payload HOT 4
- addComment does not work HOT 2
- bump postman request to solve tough cookie vulnerability HOT 1
- Upgrade postman-request to v2.88.1-postman.33
- Missing updateWorklog API HOT 2
- Allow to use GET (not only POST) for `/search` endpoint HOT 3
- Deprecation Warning punycode
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-jira-client.