1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

  2. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

rbf_sendHttpRequest Unsupported media type error

Discussão em 'PSDN - Forum' iniciado por dora.husaru, Julho 23, 2018.

  1. dora.husaru

    dora.husaru Guest

    Hi,

    I have been trying to make a call to a webservice from javascript in rollbase using rbf_sendHttpRequest but I keep on getting "Unsupported media type". I saw that the call from the browser for rbf_sendHttpRequest has "application/xml" but I want to get the response from a DataObject service which uses application/json.
    Previously we did this calls using progress.data.Session, but we added user authentication and we also have to send the ClientPrincipal using CP_TOKEN.
    We need to get some data that could have been changed by the user on the UI so we have to use some client side code.
    Is there any way I can make the call with rbf_sendHttpRequest or is there another solution?

    Best regards,

    Dora

    Continue reading...

Compartilhe esta Página