[Progress Communities] [Progress OpenEdge ABL] Forum Post: rbf_sendHttpRequest Unsupported media type error

  • Thread starter Thread starter dora.husaru
  • Start date Start date
Status
Not open for further replies.
D

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...
 
Status
Not open for further replies.
Back
Top