github - What's the difference between these authorization APIs? -
what difference between
post /authorizations
and
put /authorizations/clients/:client_id
in github api? both receive client_id
(the latter in url, former in post parameters). difference?
you correct: former create new token (potentially matching existing one), whereas latter either return existing token matching post data, or create , return 1 should not exist.
Comments
Post a Comment