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-
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-
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...
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
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...