marvinbleiberg
Posts: 0
Joined: Wed Jan 25, 2012 8:16 pm

REST - headers and parameters

Can someone explain the difference between header and parameter (for REST post)? When would something be in Header, and when would it instead be in parameters?

thank you-

Ihor Didevych
Posts: 0
Joined: Wed Nov 19, 2014 7:55 pm

REST - headers and parameters

Hi Marvin,

There are basic principles of HTTP(S) protocol.
Headers are used to tell server, that client knows how to intercommunicate with server.
Parameters are used to tell something specific about current url, orbject or action that client is trying to do with.
You can read more about HTTP(S) here^
http://en.wikipedia.org/wiki/Hypertex...

marvinbleiberg
Posts: 0
Joined: Wed Jan 25, 2012 8:16 pm

REST - headers and parameters

What would typically go in the headers section, what would typically go in parameters? I'm thinking of:
API key
API Secret
xml or json

would these go in header?

In general - How can I tell from the documentation for a REST service, what goes where?

thank you-
MB

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

REST - headers and parameters

Hello Marvin,

This question should be asked to a support of a webside, which provides api. But these links may be useful for you:
http://www.soapui.org/Best-Practices/...
http://www.soapui.org/REST-Testing/un...
http://stackoverflow.com/questions/79...

Return to “Issues”