Forum Discussion

NAVTEQ_Support_1's avatar
NAVTEQ_Support_1
Contributor
14 years ago

Reading settings of a REST request

Hi,

is it possible to read media type and accept settings for a REST request which I'm sending? We have requests with various settings so we need to individually read them when we work some advanced magic there

This is a followup to viewtopic.php?f=2&t=8424&p=24484#p24484 but since there was no response for several days, I'm starting a new thread here.

Thanks,

roman
  • Hi Roman,

    sorry for not following up on your previous thread - sure, you can use

    request.mediaType

    and

    request.accept

    to get these two properties.

    Does that work ok?

    regards!

    /Ole
    SmartBear Software