I
I
Ilya Bobkov2015-08-25 06:11:15
API
Ilya Bobkov, 2015-08-25 06:11:15

Is it worth making public methods?

Hey! My service uses public view methods:

$.ajax
({
  url:  "server.php",
  data: {func:"GetUserContacts", user_id: UserId},	      
   success: function( data )
   {
          alert("ответ");
   }
});

Is it worth it to make such requests with an open Id?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2015-08-25
@heksen

Not worth it. Use the session mechanism, and if the API is intended for external use, then generate a session token upon login.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question