HTTPRequest

Document created by cdnadmin on Jan 25, 2014
Version 1Show Document
  • View in full screen mode
This document was generated from CDN thread

Created by: trinnachart ngakhaw on 03-09-2012 04:11:54 AM
Hello
      I try to used MediaSense API via PHP HTTPRequest. I found this error message when I try to signin "The server refused this request because the
request entity is in a format not supported by the requested resource
for the requested method ().". How to solve this problem or I can not use HTTPRequest to call API?
Thank you
trinnachart

Subject: RE: New Message from trinnachart ngakhaw in Cisco MediaSense (MediaSense) -
Replied by: David Lender on 04-09-2012 09:49:41 AM
Try the request using Poster to determine that your signin is formed correctly.

Subject: RE: HTTPRequest
Replied by: Cesar Arguello on 04-09-2012 12:01:36 PM
Hello
      I try to used MediaSense API via PHP HTTPRequest. I found this error message when I try to signin "The server refused this request because the
request entity is in a format not supported by the requested resource
for the requested method ().". How to solve this problem or I can not use HTTPRequest to call API?
Thank you
trinnachart

 
i has the same problem some time ago, do not use HTTPRequest use CURL, with CURL you can send custom headers in the request

Subject: RE: HTTPRequest
Replied by: Cesar Arguello on 04-09-2012 12:04:47 PM
Hello
      I try to used MediaSense API via PHP HTTPRequest. I found this error message when I try to signin "The server refused this request because the
request entity is in a format not supported by the requested resource
for the requested method ().". How to solve this problem or I can not use HTTPRequest to call API?
Thank you
trinnachart

 
 
i has the same problem some time ago, do not use HTTPRequest use CURL, with CURL you can send custom headers in the request

Subject: RE: HTTPRequest
Replied by: Cesar Arguello on 04-09-2012 12:10:45 PM
I had the same problem some time ago, do not use HTTPRequest use CURL, with CURL you can send custom headers in the request

Subject: RE: HTTPRequest
Replied by: Cesar Arguello on 04-09-2012 12:12:09 PM
Sorry,  i had

Attachments

    Outcomes