#1 2017-02-08 12:11:39

fakie
Banned
Registered: 2016-10-28
Posts: 36

Post an AB object to PHP

Hi there David.

Is it possible to post a complete App Builder Object to PHP and get PHP to understand it?

ie:

NewObject "myObj"
ObjectSetProp "myObj" "Poepies" "Hallo"
ObjectSetProp "myObj" "Testing" "Whatever"

HttpClearData "HttpClient1"
//not usre if we would us json?
HttpSetHeader "HttpClient1" "Content-Type" "application/json"
HttpSetData "HttpClient1" "HereIsMyObject" "myObj"
HttpExecute "HttpClient1"

This is my favourite quote.

Offline

#2 2017-02-08 12:41:20

fakie
Banned
Registered: 2016-10-28
Posts: 36

Re: Post an AB object to PHP

Found my error!

Had a mistake in my httpsetheader command.

Sorry for bothering you.


This is my favourite quote.

Offline

#3 2017-02-09 17:20:42

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
Website

Re: Post an AB object to PHP

fakie wrote:

Found my error!

Had a mistake in my httpsetheader command.

Sorry for bothering you.

No problem! smile

Offline

Board footer

Powered by FluxBB


Copyright ©2018 DecSoft. All rights reserved.