'Handling / Hiding Endpoint Calls while hosting

I want to encrypt my api call or say Endpoint from react frontend

Is it possible

For example

Backend Api : https://teacher.com/abc/new

Which is a post method

I am making the call from frontend So it shows the call and even the query in url which is vulnerable

Can it be encrypted



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source