0

I need help,how to call an API method using point as method qualifier?

Some examples::

  • domain.com/api/users.create?name=smt
  • domain.com/api/users.get?name=smt
  • domain.com/api/users.ban?id=smt

And others. I tried to explore the internet on same issues,but have not found any.

4
  • Create should be a post, without query string. Further; what is your question? Calling an API can be done dozens of ways (browser, postman, javascript, httpclient, etc.) Commented Oct 27, 2019 at 9:52
  • I want to call api like domain.com/api/users.get?id=543&name=qwerty, so method quaifier shoul be point(.) Commented Oct 27, 2019 at 10:01
  • so url should be like domain.com/api/users.get,not domain.com/api/users/get Commented Oct 27, 2019 at 10:02
  • Ah, ok, I'll change your title, it was a bit confusing ;-) Commented Oct 27, 2019 at 11:07

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.