C
C#2y ago
Shinigami

❔ how to make web api accessible from another machine

Hi, I've made a simple api which returns "hi, name" when i pass in name=rob. Now it's in localhost and i can only use in my host machine. How do i make the api available such that i cam access it from anywhere?
4 Replies
Pobiega
Pobiega2y ago
you'll need to host it somewhere ie have a server running your program if you just want a way to access it temporarily while developing, you can use https://ngrok.com/
Shinigami
ShinigamiOP2y ago
Yes, i just want to test it. I'm trying to simulate an api. I'll look into ngrok thanks
Cracker
Cracker2y ago
azure web service is easy to create and publish also you can use free plan shared hosting integrated with visual studio where you can connect with your azure account and publish within visual studio to server
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server