Hi,

Can you post the code you are using ?

If you send JSON data, you probably have to send the right content type 
(content type "application/json").

> 
> I’ve successfully tested the REST service using Postman and I can copy the 
> encoded URL from Postman and send it successfully from 4D HTTP Request 
> instead or JSON. So I just need to build the encoded URL on the 4D side. It’s 
> tedious to do though, and I think it’s convenient to use an object on the 4D 
> side to manage the key value pairs. So I’m wondering is there an ‘easy’ way 
> to convert a JSON object into an encoded URL?

Was Postman successful to send a json request ?
Or did it only work with x-www-form-urlencoded (content type 
"application/x-www-form-urlencoded").

In the AWS component available here
        https://github.com/blegay/aws_component

There is a method
        AWS__arrToCanonicalQueryString

Which takes two text array pointers (key and values) and output a url encoded 
query string.

Bruno LEGAY
A&C Consulting



Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to