Sun Java System Access Manager 7.1 C API Reference

am_web_create_post_preserve_urls()

Constructs a post_urls_t data type during preservation of POST data.

Details

A post_urls_t data type contains a dummy POST URL, an action URL and a unique key. The dummy URL is filtered by the Server Application Function (SAF) to identify POST preservation redirects from general redirects. All three of these variables are required for POST preservation.

Syntax

#include "am_web.h"
AM_WEB_EXPORT post_urls_t *
am_web_create_post_preserve_urls(const char *request_url);

Parameters

This function takes the following parameter:

request_url

Pointer to the request URL for POST in the HTTP request.

Returns

This function returns a post_urls_t data type. See post_urls_t for information.