{“sys”:{“links”:{“jsBaseUrl”:“https://www.sandbox.paypal.com/js”,“cssBaseUrl”:“https://www.sandbox.paypal.com/css ","templateBaseUrl":"https://www.sandbox.paypal.com/templates","resourceBaseUrl":"https://www.sandbox.paypal.com"},"pageInfo":{"日期": "2024 年 9 月 15 日 23:49:13 -07:00","主机名":"rZJvnqaaQhLn/nmWT8cSUjOx898qoYZ0gJ/s7uf3ja27l2b59M4osrZOWv8Uv3DB","rlogId":"rZJvnqaaQhLn%2FnmWT8cSUMDP %2Bhip7g49eFYVqbGPqtrcf3YgDr9DRBZmxdhAyNCB3C137oXazVw_191f997b0aa","脚本":"节点","调试":null},"locality":{"timezone":{"definer":"viaCowPrimary","value":"America/Los_Angeles"},"country":"US","locale":"en_US", “语言”:“en”,“方向性”:“ltr”},“跟踪”:{“fpti”:{“名称”:“pta”,“jsURL”:“https://www.paypalobjects.com” ,"serverURL":"https://t.paypal.com/ts","dataString":"pgrp=loggernodeweb%2F.dust&page=loggernodeweb%2F.dust&pgst=1726469353642&calc=f1107112e58d5&pgtf=Nodejs&env=sandbox&s=ci&csci=92dd5fde853645a29554 4bf0c1a4b687&comp= loggernodeweb&tsrce=loggernodeweb&cu=1&ef_policy=gdpr_v2.1&c_prefs=T%3D0%2CP%3D0%2CF%3D0%2Ctype%3Dinitial"}}}}
我在 API 调用时遇到错误: https://www.sandbox.paypal.com/xoplatform/logger/api/logger?disableSetCookie=true
这是我的代码:
import { environment } from "src/environments/environment";
const BASE_URL = environment.production? '' : 'http://localhost:5000';
export const list_URL = BASE_URL + '/api/list';
您的 Brave 浏览器有一个名为 Brave Shields 的功能,可以阻止他们认为来自广告或跟踪器的请求。为了避免您的请求被 Brave 阻止,您需要在客户端为您的网站禁用 Brave Shields。请注意,这需要在所有使用 Brave 的客户端上手动完成。