CJ7
CJ7

Reputation: 23295

How to send date value as POST parameter?

What is the best way to send a date value (eg. 10/08/12) as a HTTP POST parameter?

Can forward slashes be used?

Upvotes: 1

Views: 1901

Answers (2)

CJ7
CJ7

Reputation: 23295

A URL encoding function should be used in the client software.

eg. in .NET it is HttpUtility.UrlEncode

Upvotes: 0

Raptor
Raptor

Reputation: 54248

best without slashes . I recommend sending the value using this format :

20120810

Fixed length

Upvotes: 2

Related Questions