Http request to localhost for testing
-
Hi,
Does anybody knows if there is a way to send http requests to localhost or 127.0.0.1 for testing an API before use a web host? I am using metatrader and today I tried to do a test but it was no good.
Thanks!
-
Yes, there is. Just use 127.0.0.1:YourPort/api/endpoint/parameter and it will work nicely.
I just answered to help anyone who may have the same problem, ok?
Thanks to all!
-
@chicrala Only real programmers can answer to that question. Anyone here?