Hide API URL used in website | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hide API URL used in website

The webpage on my site makes a post request to an API. Can I create my own simple API that makes request with the original API so that I can hide the main API to which my page is making request. Or, is there any other way to hide(make secret) the API requests from browser debugging tools/ by any other methods?

17th Nov 2020, 2:45 PM
Bibek Oli
Bibek Oli - avatar
4 Answers
+ 2
This can be done with dynamic webside coded on the server side and languages i.e. such as PHP or Node.js.
17th Nov 2020, 3:38 PM
JaScript
JaScript - avatar
+ 2
I think with PHP is it essier but you can of course learn what you like. https://www.sololearn.com/learn/PHP/1801/
18th Nov 2020, 8:12 AM
JaScript
JaScript - avatar
+ 1
I asked for a coin, you gave me bank. Thank you.😂😂
18th Nov 2020, 10:06 AM
Bibek Oli
Bibek Oli - avatar
0
JaScript can you provide some tutorial or code regarding this..
18th Nov 2020, 7:35 AM
Bibek Oli
Bibek Oli - avatar