Describe the issue
I'm trying to get json data from remote api. when running on my local windows pc it's working fine. but when try to run on ubuntu server I'm getting 403 FORBIDDEN response.
Example Code
below is the method used. it's also work without setting cookie.
Expected behavior, if applicable
it's giving the correct response when url loaded on web browser. but not working on ubuntu server with axios. Also tried with node-fetch
Describe the issue I'm trying to get json data from remote api. when running on my local windows pc it's working fine. but when try to run on ubuntu server I'm getting
403 FORBIDDEN
response.Example Code below is the method used. it's also work without setting cookie.
Expected behavior, if applicable it's giving the correct response when url loaded on web browser. but not working on ubuntu server with axios. Also tried with node-fetch
Environment:
Thanks for any idea!