Skip to main content
Participant
October 9, 2013
Question

GET fails, POST succeeds

  • October 9, 2013
  • 1 reply
  • 415 views

I have a .swf made from an AIR project that makes https request to a REST api (i.e. Parse.com)

There is no problem running this .swf with AIR runtime.

Since I want to run this in a browser, if I were to run this .swf in regular Flash player 11, I encounter:

GET request I receive error 401 (unauthorized)

POST request there is no problem.

How can I debug further?

This topic has been closed for replies.

1 reply

Inspiring
October 25, 2013

Wireshark to sniff the packet contents?

I have personally had problems with GET and characters like the carriage return, which is illegal in an URL:

http://www.w3schools.com/tags/ref_urlencode.asp

But you can use POST to send the same character because it will no longer be part of the URL.