Discussions tagged POST
How to handle nested SetRedraw() pairs, a modest proposal
- Misc
- Last updated 7 months ago
- John Fauss replied 7 months ago
Assume you have 6 different methods acting on a datawindow or multiple datawindows on a userobject, and these methods can be called in multiple combinations, singly or in combination.They involve sorting/filtering or some other visual change that you...
Using REST client to send file
- Resolved
- How-to
- Last updated 1 year ago
- TOMAZ KRALJ replied 1 year ago
Hello,
PB 2021 - 1509
Is it possible to send files with REST client or do I have to use Http client? If I want to use RESTclient should I convert blob to string and then send this string with SendPostRequest function?
Thank you for your answers an...
Hi Gurus,
I am using PowerBuilder 2019 R2 classic. I am not aware with Rest API calling in PowerBuilder .
Below is the example of HTTP request.:-
Request URL: https://api.incontact.com/InContactAuthorizationServer/Token
Request Method: POST...
Hi Gurus,
I am using PowerBuilder 2019 R2 classic. I am not aware with Rest API calling in PowerBuilder .
Below is the example of HTTP request.:-
Request URL: https://api.incontact.com/InContactAuthorizationServer/Token
Request Method: POST...
POST content-type application/json: max. Textsize 32K?
- Resolved
- How-to
- Last updated 3 years ago
- David Xiong @Appeon replied 3 years ago
Hi,
I'm beeing writing a small WEB-API which has to process POSTed metadata and files as json-data and insert it into a SQL Server database.
I know, the client could send the data and files together in one POST using the content-type form-data.
B...
I am consuming a REST API from PowerBuilder 2019 R2. For this I use the HttpClient class.
When running the API from Posman, Insomnia and SoapUI the response is immediate (thousandths of a second)
However, when I run it from PowerBuilder, at be...
Datastore RESTClient Object Submit Function Response is slow (then fast!)
- Resolved
- Issue
- Last updated 4 years ago
- Jim Nesbitt replied 4 years ago
I'm using Powerbuilder 2019 R2 Beta and SnapDevelop.
I migrated a simple application to PB2019R2 and then built a Web API in SnapDevelop following the instructions in
https://docs.appeon.com/appeon_online_help/dwconverter2019r2/CRUD_Operations_wit...
Order of operations when posting a function call
- Resolved
- Advice
- Last updated 4 years ago
- Miguel Leeuwe replied 4 years ago
I just want to confirm my understanding. Suppose I have the following (over-simplified) code:
nvo_myobj objobj.StringValue = "foo"w_mywindow.Post wf_do_something("The value is: " + obj.StringValue)DESTROY obj
Is that OK, because the function argume...
Posted events are called on open of reponse window
- How-to
- Last updated 5 years ago
- Miguel Leeuwe replied 5 years ago
Hi,
I have a problem with posted events.
Here a small simplified example of code:
POST Event ue_posted_event()MessageBox ("", "test")Event ue_triggered_event()
In this case the code in ue_posted_event is called after the code in ue_triggered_even...
Send file from Mobile by Http
- Resolved
- How-to
- Last updated 5 years ago
- Kai Zhao @Appeon replied 5 years ago
Greetings to the community, I need to send a photo via HTTP, using the post method to a server in C #, this photo is captured by the camera in powerbuilder on the device with appeon mobile and is stored in the cell phone memory.
Thank you...
PowerServer calling an event with "post" rather than "trigger"
- How-to
- Last updated 5 years ago
- Miguel Leeuwe replied 5 years ago
We're attempting to migrate a PowerBuilder app to PowerServer. The app runs great in PB 2019.
We’re trying to launch a user interactive process in a response window that must be available to the user AFTER the window is opened AND visible to the ...
HTTPS for PostURL function of iNET Object in PB12.5.2
- Resolved
- Issue
- Last updated 5 years ago
- Praveen Rajarao replied 5 years ago
Hello
I'm trying to use the inet/internetresult objects and the PostURL function. Everything works fine if I use GetURL, or if I try to use PostURL.
However if I use PostURL with a "HTTPS" it fails with a -5 (Unsupported secure (HTTPS) connection a...
I'm trying to imbed a binary zip file as an attachment in a post to a RESTful service using the httpclient in Appeon 2017 R3. I read the file into a blob and then have to convert it into a string for the body, so it looks like:------WebKitFormBoundar...
Postgresql ODBC database profile in PB 2017
- Issue
- Last updated 6 years ago
- Miguel Leeuwee replied 6 years ago
I was trying to setup the ODBC database profile in PB2017 for Postgresql but gotten the error:
SQLSTATE: IM014
The specified DSN contains an architecture mismatch between the Driver and Application.
Pls advise how to resolve this error.
p...
I am testing using the postgresql database and if I try to create a table it uses "user_name.table_name" but I need to create the tables in "public". In other DB's i would just log in as "dbo" and all would be well but postgresql wont let me us...
Help Needed with HTTP POst and https
- Resolved
- Issue
- Last updated 6 years ago
- David Peace (Powersoft) replied 6 years ago
Hi Guys
I'm trying to post to a webservice and I'm struggling to get the right concepts for PowerBuilder.
The URL is https://pms.verticalbooking.com/mainstay/OTA_PMS.php
the Message format is:
uuid:bc12ff01-2329-f0dc-...
Hello,
I ask you because i have a problem when i call the function PostUrl of inet, the function return all the time -1.
I call the function in mobile application (android) and appeonserver is on .net IIS.
This is my code :
inet l_inet
...
Is there a solution for the current PB limitation using PostURL that only allows for http and not https?
-Allen
...
We are running PB9 on Win7 computers. We have installed new printers (HPs, with PCL drivers), but PB won't print to the new printers unless a postscript driver is installed.
Is that a requirement of PowerBuilder to only print to postscript pr...
- Page :
- 1