ParseDataFormat

Parse a URI to get the data format and URI without data format and query string.

Synopsis

Declared in <rest.h>

RESTResponseFormat
ParseDataFormat(
    std::string& param,
    std::string const& strReq);

Return Value

RESTResponseFormat that was parsed from the URI.

Parameters

NameDescription
param [out]The strReq without the data format string and without the query string (if any).
strReq [in]The URI to be parsed.