PDA

View Full Version : Creating HTTP POSTscript



rafero
10th December 2014, 06:15
I have been given an end URL and information from my developer to POST data through. Not sure how to write the scripts for it.

Method : Post
End URL : https://conqueror-implementedportfolios.cs5.force.com/integration/services/apexrest/FtpTextFile?FileName= *filename
Header : put('Content-Type' , *FileContentType)
Http requestBody : blob(*TextFile)

*filename= please put name of the file I.e. Holdings , clients, financial accounts etc.
*FileContentType= Content type of the file.
*TextFile= Please put the body of the Text file in Blob and then send it to http request Body .

Can anyone please share some information or links that I can get information on how to complete this.

Complete newbie and stumbling in the dark.

Thanks.

anbu01
10th December 2014, 07:06
Look at QNetworkAccessManager in qt docs where you can get information how to read and set information.All the Best.........