Flex 4 - Sending a string (e.g. JSON) using HTTPService

When I use HTTPService.send (paramter) as a POST request, the web server does not seem to see the parameter variable if it is a string. The server sees the parameter if it is Object, but I want to use something like httpservice.send (JSON.encode (object)); Is it possible?

+3
source share
1 answer

Why not use the actual request objects.

Define request objects in your service and publish them or send them as you receive, if you want.

Sample code here: http://pastebin.com/ft7QW2vg

Then just call .send at the service.

on the server you can just work if with request.form (Asp)

, URL- . ( , URL- ).

0

Source: https://habr.com/ru/post/1790989/


All Articles