S
S
Stepgor2020-08-04 02:00:37
Node.js
Stepgor, 2020-08-04 02:00:37

What could I be missing when submitting a request?

There is a site https://ru.tradeskinsfast.com . I need to make a request to https://ru.tradeskinsfast.com/ajax/botsinventory?a... . The response should be success: true
If you make a request from the browser, then everything works even in this form

fetch("https://ru.tradeskinsfast.com/ajax/botsinventory?appid=0", {
  "headers": {	
    "x-requested-with": "XMLHttpRequest"
   }
})

But if the request is sent via nodejs node-fetch, then the response to the request will be in success: false.
Tried copy as fetch, copy as nodejs fetch, other headers, but success: false.
Does anyone know what I might be missing.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question