javascript - Whateverorigin url incorrect when putting parameters in url -
i using whateverorigin past same-origin policy. have made request using $.getjson(url, callback)
, worked fine. want send request url includes parameters in url (e.g. api.domain.com/get?key=value
).
i using method encodeuricomponent(url)
seems parameters don't through request. doing wrong?
javascript json
No comments:
Post a Comment