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

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -