How do I call get/post APIs using php curl?

nsmnajeeb
2 Posts
nsmnajeeb posted this 25 May 2023
Ask a Question

Hello,

I am a newbie to Nicepage. I have a requirement to show a value by a third party API on a joomla website built using Nicepage. I am trying to implement this API call in a php shortcode. Unfortunately I cannot find anything related to it. It would be much appreciated if you can guide me on this. Thank you.

Hello, I am a newbie to Nicepage. I have a requirement to show a value by a third party API on a joomla website built using Nicepage. I am trying to implement this API call in a php shortcode. Unfortunately I cannot find anything related to it. It would be much appreciated if you can guide me on this. Thank you.
Vote to pay developers attention to this features or issue.
3 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 25 May 2023

Hi,

If you need to add some PHP code on the page that will show some external elements, use the PHP control in your page.

...................................................
Sincerely,
Hella
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi, If you need to add some PHP code on the page that will show some external elements, use the PHP control in your page. ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
nsmnajeeb
2 Posts
nsmnajeeb posted this 25 May 2023

Hi,

If you need to add some PHP code on the page that will show some external elements, use the PHP control in your page.

...................................................
Sincerely,
Hella
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Can you provide me an example please? Do we need to install curl to do the API call?

> Hi, > > If you need to add some PHP code on the page that will show some external elements, use the PHP control in your page. > > ................................................... > Sincerely, > Hella > Nicepage Support Team > > Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 > Follow us on Facebook: http://facebook.com/nicepageapp Can you provide me an example please? Do we need to install curl to do the API call?
Support Team
Support Team posted this 25 May 2023

Hi,

Thanks for the reply

Please check our documentation on how to use PHP element.
https://nicepage.com/doc/164390/php-element

Do not hesitate to contact us if you require our assistance
...................................................
Sincerely,
Ahmad.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi, Thanks for the reply Please check our documentation on how to use PHP element. https://nicepage.com/doc/164390/php-element Do not hesitate to contact us if you require our assistance ................................................... Sincerely, Ahmad. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments