php - Which HTTP method to use for file downloading? -
in site users can download files. files generated using php. what's http method should use sending request download file attachment? or post?
get passively retrieving files, post altering information on server. seen client, doesn't matter server or doesn't in process.
so unless you're altering server state in request: get.
Comments
Post a Comment