Answer the question
In order to leave comments, you need to log in
How to organize API validation?
Good afternoon!
Let's say we have 2 sites:
$http({
method: 'GET',
url: 'http://api.example.com/someMethod?param1=1¶m2=2'
})
Answer the question
In order to leave comments, you need to log in
Making direct requests there is not forbidden in any way with curl, for example.
And the browser can be "disabled" through CORS. Make a whitelist of domains.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question