Fermé

PHP call API using either CURL or php script

This is a pretty easy job if you are used to PHP and composer

I am trying to get a service working from [url removed, login to view]

It allows you to make Microsoft Word Template files, and have software replace values, and create a PDF file.

You want to do this:

[url removed, login to view]

You call this by using a curl with json data see below:

curl -u username:password -H "Content-Type: application/json" -d "{\"findAndReplaceData\":[[\"%%Test%%\",\"ReplacedString\"]],\"template\":null,\"mergeSettings\":null}" -X POST [url removed, login to view]

Or there is sample PHP in [url removed, login to view]

I don't use Composer, so I can't figure it out.

So I made a template called [url removed, login to view] (See [url removed, login to view])

Note my template variables are "<<bozo>>" and "<<color>>".

In the real world I will have many more, so if you want I can use an array to store my values.

I will give access to my website

You will write a PHP function called

[url removed, login to view]

It will have the ability to put my data in an array

You will use a sample array in your script.

$template="[url removed, login to view]";

$bozo="clown";

$color = "red";

$outputfilename="[url removed, login to view]";

I only have 2 variables for this sample, but the array should allow unlimited variables

Your script will then save the created PDF to

[url removed, login to view]

The PDF should have replaced the values.

Compétences : PHP, Architecture Logicielle

Voir plus : php script curl post data, run php script daily using google, php script curl download filesonic, youtube video php script curl, filesonic php script curl, php script login using gmail, update facebook status php script curl, spam php script curl, php script curl, forwarding post data php script curl, software write mq4, software write chip epson, useful software write book, php script curl check proxy, software write web specs, php script flv link megavideocom php, free software write user guide, software write edid, free software write company profile, software write websites idea, php script curl vote, software write book images, software write books, software write protection, free software write book

Concernant l'employeur :
( 165 commentaires ) Swansea, Mexico

N° du projet : #12678937

5 freelance ont fait une offre moyenne de 61 $ pour ce travail

dghq123

Hi there.. I have read your project details completely and willing to do it for you... Check my recent reviews for our quality work on on time delivery Please inbox and we can discuss about project...

70 $ USD en 1 jour
(48 Commentaires)
6.2
jayprakashyadav

Dear Hiring Manager, Over the last 8 years, I have developed a wide range of websites using ,Wordpress, PHP, Codeigniter,AJAX, CURL, Javascript and MySQL including sites for start-up companies and small businesses. Plus

35 $ USD en 2 jours
(5 Commentaires)
5.4
35 $ USD en 3 jours
(38 Commentaires)
5.1
yamaf555

dear sir I read your proposal in details. I have experience of converting html to pdf. NOW I am ready to work with you. thanks.

555 $ USD en 7 jours
(16 Commentaires)
4.3
brmobi

Hello Sir. you will have your project done with quality. I have about 5 years experience in IT projects. Please contact me for any questions

30 $ USD en 2 jours
(2 Commentaires)
0.6
pankajtiwari80

Dear Hiring Manager, Hi, How are you..? we have gone through with the requirements. We have designed and built websites for various types of businesses very successfully. We work with all of our clients individua Plus

61 $ USD en 1 jour
(1 Commentaire)
0.2
webtrend230

With decades of experience I am able to apply not only theoretical knowledge, but also technical ability and creative influence to all areas of my work Let me know if you have any questions and I would be most happy to Plus

222 $ USD en 10 jours
(0 Commentaires)
0.0
GRConnect

I like working with PHP and APIs. I can complete this project in less than 1 day. Thanks for considering my bid.

133 $ USD en 1 jour
(0 Commentaires)
0.0