O
O
Oleg Gamega2015-04-20 20:42:59
API
Oleg Gamega, 2015-04-20 20:42:59

REST API how best to pass a token?

Hello.
What is the best way to pass the token, as a request parameter or in the header? I often see both options (the first one is still much more often) to me, as a client developer, to be honest, it doesn’t matter how to send, but still, how is it more correct?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2015-04-20
@gadfi

to connect to api, it's easier to use it as parameters...
headers cause misunderstanding for many...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question