Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Can I use the POST function to upload a PDF file?


Level 1

I need a little help. My goal is to upload a PDF file to a URL and read the HTML response from the server. Is it possible to do this using the post function?


2 Replies


Employee Advisor

Try using URL function(Page 105) to make a post-call and read the response:

A sample get request looks like this:

var url = "";

TextField1.rawValue = Get(url);



Level 1

Mayank, thanks for your quick response. Maybe you can help with syntax for the post function. Currently, I am getting no response from the server when using the post function but when testing the put function I get an error that indicates the put function was not accepted by the server. I can make successful file uploads using a simple HTML form that has the post method enctype of multipart/form-data.