Skip to content
New issue

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

Usage from a browser environment #7

Open
Yentis opened this issue Sep 13, 2021 · 0 comments
Open

Usage from a browser environment #7

Yentis opened this issue Sep 13, 2021 · 0 comments

Comments

@Yentis
Copy link

Yentis commented Sep 13, 2021

I have a web-app where I'd like to create some pastes, but I'm running into the following issues:

  • No Access-Control-Allow-Origin
  • No Access-Control-Allow-Headers
  • Referer required to be 'https://rentry.co', mine is currently unset / localhost
  • Unable to read Set-Cookie header to retrieve csrftoken as this is not allowed on browser-side JS

Would it be possible for me to use this API or should I continue my search?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant