Search found 8 matches

Go to advanced search

by Oscar Silva
Mon Mar 09, 2015 7:28 pm
Forum: Issues
Topic: Passing request paramaters from SAP MII to server code
Replies: 5
Views: 646
 
Jump to post

Passing request paramaters from SAP MII to server code

Hi, i solved this, it turns out that the parameter has to be sent within the url.

Best,

by Oscar Silva
Sun Mar 08, 2015 12:28 am
Forum: Issues
Topic: Passing request paramaters from SAP MII to server code
Replies: 5
Views: 646
 
Jump to post

Passing request paramaters from SAP MII to server code

I have created a server code as follows: var pushAPIKey = "myPushAPIKey"; var message=request.get("message"); // var message="this works" var payload = { "badge" : null, "message" : message }; var filter = { "deviceID" : "theID" }...
by Oscar Silva
Sat Mar 07, 2015 2:55 pm
Forum: Issues
Topic: Passing request paramaters from SAP MII to server code
Replies: 5
Views: 646
 
Jump to post

Passing request paramaters from SAP MII to server code

Hi Illya, i also made a js test: function init(){ var http = new XMLHttpRequest(); var url = " https://api.appery.io/rest/1/code/myr... "; var params = "message=test js"; http.open("POST", url, true); //Send the proper header information along with the request http.setR...
by Oscar Silva
Fri Mar 06, 2015 3:06 pm
Forum: Issues
Topic: Passing request paramaters from SAP MII to server code
Replies: 5
Views: 646
 
Jump to post

Passing request paramaters from SAP MII to server code

I had successfully called a server code from sap mii, but when i try to pass a parameter, it fails. I've tried everything but i keep seeing on the trace console: "Message (my variable, i assume) can't be empty". this is the current format from the post data in mii: { data : {"message&...
by Oscar Silva
Thu Feb 12, 2015 7:17 pm
Forum: Issues
Topic: Calling Rest Service from Outside Server
Replies: 5
Views: 877
 
Jump to post

Calling Rest Service from Outside Server

Thanks Maryna!.

Regards,

by Oscar Silva
Tue Feb 10, 2015 8:08 pm
Forum: Issues
Topic: Calling Rest Service from Outside Server
Replies: 5
Views: 877
 
Jump to post

Calling Rest Service from Outside Server

Hi Yurii, the TI guy asks me, which port has to be open in the server making the call to the url of the REST service.

Thanks in advance!

by Oscar Silva
Tue Feb 10, 2015 2:15 pm
Forum: Issues
Topic: Calling Rest Service from Outside Server
Replies: 5
Views: 877
 
Jump to post

Calling Rest Service from Outside Server

Hi Yurii, thanks alot for your reply, it worked great.

Best regards!

by Oscar Silva
Mon Feb 09, 2015 9:26 pm
Forum: Issues
Topic: Calling Rest Service from Outside Server
Replies: 5
Views: 877
 
Jump to post

Calling Rest Service from Outside Server

Hi, I'm new to appery, and what i'm trying to do is this: i want to call a REST Service for push notifications from a server (outside appery). I've read some tutorials but the examples includes calling from the console, or from another app, in this case, the server is not in the same domain. I have ...

Go to advanced search