Skip to content

Getting 403 while trying to fetch html data. #1237

@AlenToma

Description

@AlenToma

Reproduction

Steps to reproduce the behavior:

  1. call a get request to https://www.novelupdates.com/wp-admin/admin-ajax.php?action=nd_ajaxsearchmain&strType=desktop&strOne=Against%20the%20Gods&strSearchType=series
  2. response please enable cookies with status [403]

Expected behavior
The request should work as it dose not need any cookies.
When I am using the regular fetch everything work out really good and I am getting response but when I build an API
and used node-fetch the request above dose not work.

Your Environment

software version
node-fetch node-fetch
node ???? latest
npm ???? latest
Operating System Windows, visual code

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions