假设我有一个像这样的 post api 调用
fetch('https://mywebsite.com/endpoint/', {
method: 'POST',
headers: {
Accept: 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
firstParam: 'yourValue',
secondParam: 'yourOtherValue',
}),
});
有人可以通过 dex2jar 和类似的东西解码这个 android react 应用程序并狙击 apis 调用..
我们如何通过服务器端身份验证和截图来保护 api 调用