curl -X GET \
  -H "X-LC-Id: uUcSTu1Y3hS2CbK43od1MvM3-gzGzoHsz" \
  -H "X-LC-Key: fTnupb5xNbngsM4umYx9bORj" \
  -H "Content-Type: application/json" \
  -G \
  --data-urlencode 'where={"pubUser":"LeanCloud官方客服"}' \
  https://api.leancloud.cn/1.1/classes/Post

--data-urlencode 是什么,写那里啊。下面的代码应该写在哪啊.

fetch('https://api.leancloud.cn/1.1/users/Post', {
            method: 'GET',
            headers: {
                'X-LC-Id': Config.appId,
                'X-LC-Key': Config.appKey,
            }
        })
        .then((response) => response.json())
        .then((responseJson) => {
           console.log(responseJson);

        })
        .catch((error) => {
            console.error(error);
        });

urlencode 之后作为 url 的参数。

users/Post 看起来不对,参数是对的。