Skip to content

Tag: api

Create domain ‘example.com’ failed Powerdns API

I always getting the same error (Create domain ‘example.com’ failed) (or any domain) when trying to create new DNS zone with Powerdns API call. My request: Similar api call to get a list of DNS zones is working. GET request work properly but not POST. Can anyone help, please? My pdns.conf file is:…

Delete post from WordPress if is deleted from API [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 3 months ago. Improve this question Does anyone know how to delete post from WordPress if not exist in API using PHP? I have sc…

NOT_ENABLED_FOR_CARD_PROCESSING Paypal authorize order

When I want to approve the payment, it gives me an error, so I don’t know what to do since the same example executed is the same as the api. Answer Receiving and transmitting card numbers through your own server poses a very high risk, has a high compliance burden, and it is very likely that you should …

How to call a PHP cURL function in a WordPress website

I have a need to call the REST API with GET request in my wordpress website. The requirement is whenever we search any product from the search form, the PHP curl function should give the response. The PHP function I have already implemented as below: I’m new to PHP and all this web development. I’…

Get link by id API/URL

I have this code I want to get link by id. Can anyone help? Answer More ore less what you need could be: This will output: Desired link = http://46.105.112.116/?watch=TN/mbc3-ar&token=RED_cexVeBNZ8mioQnjmGiYNEg==,1643770076.5266113827&t=1&s=2&p=1&c=BR&r=1351&lb=1 If you prefer, &#8…

Laravel Http Client add api key into request

On my Laravel project (laravel version 9) I have to connect on a third part api using an apikey on the url and I have to get the response in json format. To not having to repeat the same code over and over and over I’m trying to use the Http Client Macro for setting the base url, make sure