Wednesday, July 14, 2010

URI query string for POST

Question - is it ok to do a post with query parameters in the URI... eg. the URL people include in our notify POST - can it be http://bla.com/notify?applicationId=234324

Answer - the spec seems to allow it - it can be considered as extra "scoping" information in the URI

so the query string is used for scoping, the post body is the actual data that is being sent to the server

see

http://stackoverflow.com/questions/611906/http-post-with-url-query-parameters-good-idea-or-not

No comments: